{"id":4953,"date":"2026-05-01T21:14:24","date_gmt":"2026-05-01T12:14:24","guid":{"rendered":"http:\/\/batmask.net\/?p=4953"},"modified":"2026-05-01T21:14:24","modified_gmt":"2026-05-01T12:14:24","slug":"git-%ec%95%8c%ec%95%84%eb%b3%b4%ea%b8%b0-2-git-config","status":"publish","type":"post","link":"http:\/\/batmask.net\/index.php\/2026\/05\/01\/4953\/","title":{"rendered":"git \uc54c\uc544\ubcf4\uae30 #2 : git config"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">git config<\/h3>\n\n\n\n<p> git\uc744 \uc0ac\uc6a9\ud560 \ub54c, user name\uacfc email \uc815\ubcf4\uac00 \ud544\uc694\ud558\ub2e4. \uc774 \uc678\uc5d0\ub3c4 \uac01\uc885 \uc124\uc815\ub4e4\uc744 \ud560 \uc218 \uc788\ub294\ub370, \uc774 \ub54c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 git config\uc774\ub2e4. \uc774 \uc124\uc815\ub4e4\uc740 repository\ubcc4\ub85c \uc124\uc815\ub3c4 \uac00\ub2a5\ud558\uace0, \uae00\ub85c\ubc8c\ud558\uac8c \ubaa8\ub4e0 \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc124\uc815\ud558\ub294 \uac83\ub3c4 \uac00\ub2a5\ud558\ub2e4. <\/p>\n\n\n\n<p> \ubcf4\ud1b5 \uac00\uc7a5\uba3c\uc800 \ud574\uc57c\ud560\uac74, \uae00\ub85c\ubc8c\ud558\uac8c \uc0ac\uc6a9\ud560 username\uacfc email\uc8fc\uc18c\uc758 \uc124\uc815\uc774\ub2e4. <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git config --global user.name \"David\"\ngit config --global user.email \"david@example.com\"<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">user.name<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;David&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">user.email<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;david@example.com&quot;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc0ac\uc6a9\ud558\ub294 \ubaa8\ub4e0 git repository\uc5d0 \uc801\uc6a9\ud560 \uc124\uc815\uc740 \uc704\uc640\uac19\uc774 &#8220;&#8211;global&#8221; \uc635\uc158\uc744 \ubd99\uc5ec\uc900\ub2e4. \uc774 \uc124\uc815\uc740 \uc5b4\ub514\uc5d0 \uc800\uc7a5\uc774 \ub420\uae4c? \ub9ac\ub205\uc2a4 \uae30\ubc18\uc73c\ub85c\ub9cc \uc598\uae30\ud558\uc790\uba74, \ucd1d 3\uac00\uc9c0 \uacbd\ub85c\uac00 \uc788\ub2e4\uace0 \ud55c\ub2e4. \uc77c\ub2e8, \ub9ac\ub205\uc2a4\uac00 \uc5ec\ub7ec \uc720\uc800\uac00 \ud568\uaed8 \uc0ac\uc6a9\uc774 \uac00\ub2a5\ud558\uae30 \ub54c\ubb38\uc5d0 \uc2dc\uc2a4\ud15c \uad00\ub9ac\uc790\uac00 \ubaa8\ub4e0 \uc720\uc800\uc5d0\uac8c \uc801\uc6a9\ud560 \ub0b4\uc6a9\uc744 \uc124\uc815\ud558\uba74 \/etc\/gitconfig \ud30c\uc77c\uc5d0 \uc800\uc7a5\ub41c\ub2e4. \uc2dc\uc2a4\ud15c \uc804\uccb4\uc5d0 \uc801\uc6a9\ud560 \uc124\uc815\uc740 &#8220;&#8211;system&#8221; \uc635\uc158\uc744 \uc0ac\uc6a9\ud55c\ub2e4. \ub2e4\uc74c, \uc720\uc800 \ubcf8\uc778\uc774 \uc0ac\uc6a9\ud558\ub294 \ubaa8\ub4e0 git\uc5d0 \uc801\uc6a9\ud558\ub294 \uc124\uc815\uc740 &#8220;~\/.gitconfig&#8221; \ub610\ub294 &#8220;~\/.config\/git\/config&#8221; \ud30c\uc77c\uc5d0 \uc800\uc7a5\ub41c\ub2e4. \uc635\uc158\uc740 \uc55e\uc5d0\uc11c \uc0ac\uc6a9\ud588\ub4ef, &#8220;&#8211;global&#8221;\uc744 \uc0ac\uc6a9\ud55c\ub2e4. \ub9c8\uc9c0\ub9c9\uc73c\ub85c \ud558\ub098\uc758 git\uc5d0\ub9cc \uc801\uc6a9\ub418\ub294 \uc124\uc815\uc740 \ud574\ub2f9 git \ub514\ub809\ud1a0\ub9ac\uc778 &#8220;.git\/config&#8221; \ud30c\uc77c\uc5d0 \uc800\uc7a5\ub41c\ub2e4. &#8220;&#8211;local&#8221; \uc635\uc158\uc744 \uc0ac\uc6a9\ud558\uba74 \uc5ec\uae30\uc5d0 \uc800\uc7a5\ub41c\ub2e4.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>git config &#8211;system &#8230;<\/td><td> \/etc\/gitconfig<\/td><\/tr><tr><td>git config &#8211;global &#8230;<\/td><td>~\/.gitconfig or ~\/.config\/git\/config<\/td><\/tr><tr><td>git config &#8211;local &#8230;<\/td><td>.git\/config<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>\ub9cc\uc57d \ub3d9\uc77c\ud55c \uc124\uc815\uc774 \uacb9\uce5c\ub2e4\uba74, local > global > system \uc21c\uc11c\ub85c \uc6b0\uc120\uc21c\uc704\ub97c \uac16\ub294\ub2e4.<\/p>\n\n\n\n<p>\uc790\uc8fc\uc4f0\uc77c\ub9cc\ud55c \uc124\uc815\uc744 \uba87\uac1c \ub354 \uc0b4\ud3b4\ubcf4\uc790. <\/p>\n\n\n\n<p>\uccab\ubc88\uc9f8, github\uc744 \uc0ac\uc6a9\ud55c\ub2e4\uba74 \uae30\ubcf8 \ube0c\ub79c\uce58 \uc774\ub984\uc744 main\uc73c\ub85c \ud574\uc57c\ud55c\ub2e4. github\uc774 main\uc744 \uc4f0\uace0 \uc788\uae30 \ub54c\ubb38\uc5d0, master\uc640 \uac19\uc740 \uc774\ub984\uc744 \uc0ac\uc6a9\ud558\uba74 \ucda9\ub3cc\uc774 \uc0dd\uae38 \uc218 \uc788\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uba74 \ub41c\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git config --global init.defaultBranch main<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">init.defaultBranch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\ub450\ubc88\uc9f8, \ub77c\uc778 \ub05d\uc758 CRLF\ucc98\ub9ac \ubb38\uc81c\ub2e4. \uc708\ub3c4\uc6b0\uc988\uc5d0\uc11c\ub294 CRLF\ub97c \uc0ac\uc6a9\ud558\uace0, \uc720\ub2c9\uc2a4\ub098 \ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 LF\ub9cc \uc0ac\uc6a9\ud55c\ub2e4. \uadf8\ub7ec\ub2c8\uae4c, \uc0ac\uc6a9\ud558\ub294 OS\uac00 \uc708\ub3c4\uc6b0\uc988\ub77c\uba74 repository\uc5d0\uc11c \uac00\uc838\uc62c \ub54c LF -> CRLF\ub85c \ubcc0\uacbd\ud558\uace0, commit \ud560 \ub54c\ub294 CRLF -> LF \ub85c \ubcc0\uacbd\ud558\uba74 repository\uc5d0\uc11c\ub294 \ud56d\uc0c1 LF\ub85c \ub418\uc5b4\uc788\ub294 \uc77c\uad00\uc131\uc774 \uc0dd\uae34\ub2e4. \ub9ac\ub205\uc2a4\uc5d0\uc11c\ub294 \uac00\uc838\uc62c \ub54c\ub294 LF\uc774\ubbc0\ub85c \ubcc0\ud658\uc774 \ud544\uc694\uc5c6\uace0, commit\ud558\ub294 \uacbd\uc6b0 \ud639\uc2dc\ub098 CRLF\ub85c \ub418\uc5b4 \uc788\ub2e4\uba74 CRLF -> LF\ub85c \ubcc0\ud658\ud574\uc8fc\uba74 \ub41c\ub2e4. \uc774\uac78 git config\uc5d0\uc11c \uc124\uc815\ud558\uba74 \uc790\ub3d9\uc73c\ub85c \ucc98\ub9ac\ud574\uc8fc\ub294\ub370 \uc0ac\uc6a9\ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \uc708\ub3c4\uc6b0\uc988\uc758 \uacbd\uc6b0\ngit config --global core.autocrlf true\n\n# \ub9ac\ub205\uc2a4\uc758 \uacbd\uc6b0\ngit config --global core.autocrlf input<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #768390\"># \uc708\ub3c4\uc6b0\uc988\uc758 \uacbd\uc6b0<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">core.autocrlf<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">true<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #768390\"># \ub9ac\ub205\uc2a4\uc758 \uacbd\uc6b0<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">core.autocrlf<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">input<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc138\ubc88\uc9f8\ub85c git \uc744 \uc0ac\uc6a9\ud558\ub2e4\ubcf4\uba74 commit\uc2dc commit \uba54\uc138\uc9c0\ub4f1 \ud14d\uc2a4\ud2b8 \uc5d0\ub514\ud130\uac00 \ud544\uc694\ud55c \uacbd\uc6b0\uac00 \uc788\ub2e4. \uc774 \uc5d0\ub514\ud130\ub97c \uc0ac\uc6a9\uc790\uac00 \uc9c0\uc815\ud560 \uc218 \uc788\ub2e4. vs code \ub098 sublime\ub4f1\uc744 \uc0ac\uc6a9\ud558\ub294 \uacbd\uc6b0, &#8220;&#8211;wait&#8221; \uc635\uc158\uc744 \uc918\uc57c\ud55c\ub2e4\uace0 \ud55c\ub2e4. \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74 \ube48 \ud654\uba74\uc774 \ub730 \uc218 \uc788\ub2e4\uace0.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># vim\ngit config --global core.editor \"vim\"\n\n# vscode\ngit config --global core.editor \"code --wait\"\n\n# sublime\ngit config --global core.editor \"subl -n -w\"<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #768390\"># vim<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">core.editor<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;vim&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #768390\"># vscode<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">core.editor<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;code --wait&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #768390\"># sublime<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">core.editor<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;subl -n -w&quot;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>sublime\uc758 \uacbd\uc6b0 &#8220;-n -w&#8221; \uc635\uc158\uc774 \uc0ac\uc6a9\ub410\ub294\ub370, new window, wait\uc744 \uc758\ubbf8\ud55c\ub2e4. \uc774 \uc678\uc5d0\ub3c4 \ub2e4\ub978 \uc5d0\ub514\ud130\ub4e4\uc5d0 \ub300\ud55c \uc635\uc158\uc774 progit ebook\uc5d0 \ub098\uc640\uc788\ub2e4. <\/p>\n\n\n\n<p><a href=\"https:\/\/git-scm.com\/book\/en\/v2\/Appendix-C%3A-Git-Commands-Setup-and-Config\">https:\/\/git-scm.com\/book\/en\/v2\/Appendix-C%3A-Git-Commands-Setup-and-Config<\/a><\/p>\n\n\n\n<p>\ub124\ubc88\uc9f8\ub85c git diff\ub3c4 \uc678\ubd80 \ud234 \uc124\uc815\uc774 \uac00\ub2a5\ud558\ub2e4. meld\uc5d0 \ub300\ud574\uc11c diff \ud234 \uc124\uc815\uc744 \uc54c\uc544\ubcf4\uc790.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git config --global diff.tool meld\ngit config --global difftool.meld.cmd 'meld \"$LOCAL\" \"$REMOTE\"'\ngit config --global difftool.prompt false<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">diff.tool<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">meld<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">difftool.meld.cmd<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;meld &quot;$LOCAL&quot; &quot;$REMOTE&quot;&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">difftool.prompt<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">false<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uccab\ubc88\uc9f8 \uc904\uc740 diff tool\uc744 meld\ub85c \uc124\uc815\ud55c\ub2e4\ub294 \uc758\ubbf8\uc774\ub2e4. \ub450\ubc88\uc9f8 \uc904\uc740 meld\ub97c \uc2e4\ud589\ud560 \ub54c, \uc5b4\ub5bb\uac8c \uc2e4\ud589\ud560\uc9c0\ub97c \ubcf4\uc5ec\uc8fc\ub294\ub370, $LOCAL, $REMOTE \ub294 git \uc774 \uc2e4\ud589\uc2dc, $LOCAL \uc5d0 \ud604\uc7ac\ud30c\uc77c, $REMOTE \ub294 \ube44\uad50\ud560 \ud30c\uc77c\uc744 \uc758\ubbf8\ud55c\ub2e4. git\uc774 meld\ub97c \uc2e4\ud589\ud558\uba74\uc11c \uc54c\uc544\uc11c \uc778\uc790\ub97c \ub118\uaca8\uc8fc\ub294 \uac83. \ub9e4\uc6b0 \uc911\uc694\ud55c\uac8c, \uc678\ub530\uc634\ud45c\ub85c \ubb36\uc5ec\uc788\uace0 \uc548\uc5d0 \uc30d\ub530\uc634\ud45c\ub85c \ubb36\uc5ec\uc788\ub294\ub370, \ub9cc\uc57d \uc804\uccb4\ub97c \uc30d\ub530\uc634\ud45c\ub85c \ubb36\uc73c\uba74 $LOCAL \uacfc\uac19\uc774 $\ub85c \uc2dc\uc791\ud558\ub294 \uac12\uc744 \uc258\uc774 \ud574\uc11d\ud574\ubc84\ub824\uc11c \uc81c\ub300\ub85c \uc124\uc815\ub418\uc9c0 \uc54a\ub294\ub2e4. \uaf2d, \uc678\ubd80\ub97c \uc678\ub530\uc634\ud45c(&#8216;)\ub85c \ubb36\uc5b4\uc11c \uc258\uc774 \uc774 \uc548\uc5d0 \uc788\ub294 \ub0b4\uc6a9\uc744 \ud574\uc11d\ud558\uc9c0 \uc54a\ub3c4\ub85d \ud558\ub294\uac83\uc774 \uc911\uc694\ud558\ub2e4. \ub9c8\uc9c0\ub9c9 \ub77c\uc778\uc740 \uc2e4\ud589\ud560 \ub54c\ub9c8\ub2e4 prompt\ub85c \ubb3c\uc5b4\ubcf4\ub294\uac78 \uc548\ub098\uc624\ub3c4\ub85d \uc124\uc815\ud558\ub294 \uc758\ubbf8\uc774\ub2e4. \ub2e4\ub978 \ud234\uc744 \uc4f4\ub2e4\uba74, \uc774\ub97c \uae30\ubc18\uc73c\ub85c \ucc3e\uc544\ubcf4\uc2dc\uae38. <\/p>\n\n\n\n<p>\ub2e4\uc12f\uc9f8\ub85c merge \ud234\ub3c4 \uc124\uc815\uc774 \uac00\ub2a5\ud558\uba70 meld\ub85c \uc124\uc815\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uc790.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git config --global merge.tool meld\ngit config --global mergetool.meld.cmd 'meld \"$LOCAL\" \"$BASE\" \"$REMOTE\" --output \"$MERGED\"'<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">merge.tool<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">meld<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">mergetool.meld.cmd<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;meld &quot;$LOCAL&quot; &quot;$BASE&quot; &quot;$REMOTE&quot; --output &quot;$MERGED&quot;&#39;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc774\ubc88\uc5d4 \uc778\uc790\uac00 \uc880 \ub9ce\uc740\ub370, \uac01\uac01 \uc758\ubbf8\ub294 \ub2e4\uc74c\uacfc \uac19\ub2e4. <\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td>$LOCAL <\/td><td>\ud604\uc7ac \ube0c\ub79c\uce58<\/td><\/tr><tr><td>$REMOTE<\/td><td>\uc0c1\ub300 \ube0c\ub79c\uce58<\/td><\/tr><tr><td>$BASE<\/td><td>\uacf5\ud1b5 \uc870\uc0c1<\/td><\/tr><tr><td>$MERGED<\/td><td>merge\ub41c \uacb0\uacfc\ud30c\uc77c<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>meld\uc758 \uacbd\uc6b0, \uc704\uc640 \uac19\uc774 \uc124\uc815\ud558\uba74 3-way merge \ub97c \uc9c0\uc6d0\ud558\uba70, \uc67c\ucabd \ud328\ub110\uc5d0\ub294 \ud604\uc7ac \ube0c\ub79c\uce58\uc778 $LOCAL, \uc624\ub978\ucabd\uc5d0\ub294 \ubcd1\ud569\ud560 \uc0c1\ub300 \ube0c\ub79c\uce58\uc778 $REMOTE, \uadf8\ub9ac\uace0 \uac00\uc6b4\ub370\uc5d0 \uacf5\ud1b5\uc870\uc0c1\uc778 $BASE\uac00 \ubcf4\uc778\ub2e4. \uc67c\ucabd\uacfc \uc624\ub978\ucabd\uc5d0\uc11c base\uc5d0 \ucd94\uac00\ub97c \ud574\uc11c \uc800\uc7a5\uc744 \ud558\uba74 merge\ub41c \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uac8c \ub41c\ub2e4. \uc6d0\ub798 \uc218\ub3d9 \ubcd1\ud569\uc758 \uacbd\uc6b0, \ud604\uc7ac \ud30c\uc77c\uc5d0  <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;&lt;&lt;&lt;&lt;&lt;&lt; HEAD\nA\n=======\ntest2 branch\n>>>>>>> test2<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F47067\">&lt;&lt;&lt;<\/span><span style=\"color: #F47067\">&lt;&lt;&lt;<\/span><span style=\"color: #96D0FF\">&lt;<\/span><span style=\"color: #ADBAC7\"> HEAD<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">A<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">=======<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">test2<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&gt;&gt;&gt;&gt;&gt;&gt;&gt; <\/span><span style=\"color: #F69D50\">test2<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc704\uc640\uac19\uc774 \ud45c\uc2dc\ud558\ub3c4\ub85d \ub418\uc5b4 \uc788\uc9c0\ub9cc, meld \ud234\uc5d0\uc11c\ub294 \uc774\uac78 \ud45c\uc2dc\ud558\uc9c0 \uc54a\uace0 \uacf5\ud1b5 \uc870\uc0c1\uc778 base\uc5d0 \ucd94\uac00\ud568\uc73c\ub85c\uc11c merged\ub41c \ud30c\uc77c\uc744 \uc0dd\uc131\ud55c\ub2e4. <\/p>\n\n\n\n<p>meld\ub85c 3-way merge\uc2dc\uc5d0 \uae30\ubcf8\uc801\uc73c\ub85c \ud654\uc0b4\ud45c\ub97c \uc774\uc6a9\ud574 replace\uac00 \uc774\ub8e8\uc5b4\uc9c0\ub294\ub370, \uc591\ucabd \ubcc0\uacbd\uc0ac\ud56d\uc744 \ub458 \ub2e4 \uc801\uc6a9\ud558\ub824\uba74 Ctrl \ud0a4\ub97c \ub20c\ub7ec \ud654\uc0b4\ud45c\ub97c &#8216;+&#8217;\ud45c\uc2dc\ub85c \ubc14\uafbc \ud6c4 \ub20c\ub7ec\uc8fc\uba74 insert\ubaa8\ub4dc\uac00 \ub418\uc5b4 \ub458 \ub2e4 \ucd94\uac00\uac00 \uac00\ub2a5\ud574\uc9c4\ub2e4.<\/p>\n\n\n\n<p>merge\ub97c \ud55c \ud6c4, \uc800\uc7a5\uc744\ud558\uba74  *.orig \ud655\uc7a5\uc790\ub85c backup\ud30c\uc77c\uc744 \uc0dd\uc131\ud574 \ub193\uc740\uac8c \ubcf4\uc778\ub2e4. \ubb38\uc81c\ub294 \uc774\uac78 \uc218\ub3d9\uc73c\ub85c \uc0ad\uc81c\ud574 \uc918\uc57c \ud55c\ub2e4. git clean\uc774\ub098 &#8220;find . -name &#8216;*.orig&#8217; -delete&#8217; \uc640 \uac19\uc740 \ub9ac\ub205\uc2a4 \uc258 \ucee4\ub9e8\ub4dc\ub97c \uc774\uc6a9\ud560 \uc218\ub3c4 \uc788\uc9c0\ub9cc, \uc544\uc608 \ubc31\uc5c5\ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uc9c0 \uc54a\ub3c4\ub85d \ub9cc\ub4dc\ub294 \uac83\ub3c4 \uac00\ub2a5\ud558\ub2e4. <\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>git config --global mergetool.keepBackup false<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--global<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">mergetool.keepBackup<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">false<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>\uc774\ub807\uac8c \ud574\uc11c username \uacfc email\uc744 \ud3ec\ud568\ud574 6\uac00\uc9c0 git config\uc5d0 \ub300\ud574 \uc54c\uc544\ubd24\ub2e4. \uc9c0\uae08\uae4c\uc9c0 git config \uba85\ub839\uc5b4\ub85c \uc124\uc815\uc744 \ud588\uc9c0\ub9cc, \ud30c\uc77c\uc744 \uc9c1\uc811 \ud3b8\uc9d1\ud574\ub3c4 \ub41c\ub2e4. \ub0b4\uac00 \uc0ac\uc6a9\uc911\uc778 .gitconfig \ud30c\uc77c\uc740 \ub2e4\uc74c\uacfc \uac19\ub2e4.<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-Roboto-Mono.ttf\" style=\"font-size:clamp(14px, .875rem, 21px);font-family:Code-Pro-Roboto-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#adbac7;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:clamp(20px, 1.25rem, 30px);--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:flex;align-items:center;padding:10px 0px 0 16px;font-size:0.8em;width:100%;text-align:left;background-color:#22272e;font-style:italic;color:#adbac7\"><span style=\"border-bottom:1px solid rgba(139, 186, 234, 0.2)\">Zsh<\/span><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#adbac7;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&#91;safe&#93;\n\tdirectory = \/mnt\/NVMe M.2\/output_files\/\\n\n\tdirectory = *\n&#91;user&#93;\n\tname = batmask\n\temail = batmask@naver.com\n&#91;core&#93;\n\tautocrlf = input\n\teditor = vim\n&#91;diff&#93;\n\ttool = meld\n&#91;difftool&#93;\n\tprompt = false\n&#91;init&#93;\n\tdefaultBranch = main\n&#91;cola&#93;\n\tstartupmode = folder\n&#91;difftool \"meld\"&#93;\n\tcmd = meld \\\"$LOCAL\\\" \\\"$REMOTE\\\"\n&#91;merge&#93;\n\ttool = meld\n&#91;mergetool \"meld\"&#93;\n\tcmd = meld \\\"$LOCAL\\\" \\\"$BASE\\\" \\\"$REMOTE\\\" --output \\\"$MERGED\\\"\n&#91;mergetool&#93;\n\tkeepBackup = false\n<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki github-dark-dimmed\" style=\"background-color: #22272e\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #ADBAC7\">&#91;safe&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">directory<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">\/mnt\/NVMe<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">M.2\/output_files\/<\/span><span style=\"color: #F47067\">\\n<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">directory<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">*<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;user&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">name<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">batmask<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">email<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">batmask@naver.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;core&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">autocrlf<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">input<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">editor<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">vim<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;diff&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">tool<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">meld<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;difftool&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">prompt<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">false<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;init&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">defaultBranch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;cola&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">startupmode<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">folder<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;difftool <\/span><span style=\"color: #96D0FF\">&quot;meld&quot;<\/span><span style=\"color: #ADBAC7\">&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">cmd<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">meld<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\">$LOCAL<\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\">$REMOTE<\/span><span style=\"color: #F47067\">\\&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;merge&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">tool<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">meld<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;mergetool <\/span><span style=\"color: #96D0FF\">&quot;meld&quot;<\/span><span style=\"color: #ADBAC7\">&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">cmd<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">meld<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\">$LOCAL<\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\">$BASE<\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\">$REMOTE<\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--output<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">\\&quot;<\/span><span style=\"color: #ADBAC7\">$MERGED<\/span><span style=\"color: #F47067\">\\&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;mergetool&#93;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">keepBackup<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">=<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">false<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>git config git\uc744 \uc0ac\uc6a9\ud560 \ub54c, user name\uacfc email \uc815\ubcf4\uac00 \ud544\uc694\ud558\ub2e4. \uc774 \uc678\uc5d0\ub3c4 \uac01\uc885 \uc124\uc815\ub4e4\uc744 \ud560 \uc218 \uc788\ub294\ub370, \uc774 \ub54c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 git config\uc774\ub2e4. \uc774 \uc124\uc815\ub4e4\uc740 repository\ubcc4\ub85c \uc124\uc815\ub3c4 \uac00\ub2a5\ud558\uace0, \uae00\ub85c\ubc8c\ud558\uac8c \ubaa8\ub4e0 \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc124\uc815\ud558\ub294 \uac83\ub3c4 \uac00\ub2a5\ud558\ub2e4. \ubcf4\ud1b5 \uac00\uc7a5\uba3c\uc800 \ud574\uc57c\ud560\uac74, \uae00\ub85c\ubc8c\ud558\uac8c \uc0ac\uc6a9\ud560 username\uacfc email\uc8fc\uc18c\uc758 \uc124\uc815\uc774\ub2e4. \uc0ac\uc6a9\ud558\ub294 \ubaa8\ub4e0 git repository\uc5d0 \uc801\uc6a9\ud560 \uc124\uc815\uc740 \uc704\uc640\uac19\uc774 &#8220;&#8211;global&#8221; \uc635\uc158\uc744 \ubd99\uc5ec\uc900\ub2e4. \uc774 \uc124\uc815\uc740 \uc5b4\ub514\uc5d0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[629,630,628,631,273,627,67,623,632,626],"class_list":["post-4953","post","type-post","status-publish","format-standard","hentry","category-git","tag-autocrlf","tag-crlf","tag-defaultbranch","tag-difftool","tag-editor","tag-email","tag-git","tag-git-config","tag-mergetool","tag-username"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/4953","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/comments?post=4953"}],"version-history":[{"count":28,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/4953\/revisions"}],"predecessor-version":[{"id":4989,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/4953\/revisions\/4989"}],"wp:attachment":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/media?parent=4953"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/categories?post=4953"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/tags?post=4953"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}