{"id":4947,"date":"2026-05-03T18:52:48","date_gmt":"2026-05-03T09:52:48","guid":{"rendered":"http:\/\/batmask.net\/?p=4947"},"modified":"2026-05-03T18:52:49","modified_gmt":"2026-05-03T09:52:49","slug":"git-%ec%95%8c%ec%95%84%eb%b3%b4%ea%b8%b0-5-git-branch-checkout-tag","status":"publish","type":"post","link":"http:\/\/batmask.net\/index.php\/2026\/05\/03\/4947\/","title":{"rendered":"git \uc54c\uc544\ubcf4\uae30 #5 : git branch \/ checkout \/ tag"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">git branch \/ checkout <\/h3>\n\n\n\n<p> \uc774\uc804\uae4c\uc9c0\uc758 \uacfc\uc815\uc774 \uadf8\ub0e5 \ud63c\uc790 \ud788\uc2a4\ud1a0\ub9ac \ub0a8\uae30\ub294 \uc815\ub3c4\uc758 \uae30\ubcf8\uc801\uc778 VCS \uc0ac\uc6a9\uc774\uc5c8\ub2e4\uba74, \uc5ec\uae30\uc11c\ubd80\ud130 \ub09c\uc774\ub3c4\uac00 \uc62c\ub77c\uac00\ub294 \uc911\uc0c1\uae09\uae30\ub2a5\uc774\ub77c\uace0 \ud560 \uc218 \uc788\ub2e4. <\/p>\n\n\n\n<p> \uac1c\ubc1c \ub610\ub294 \uc791\uc5c5\uc744 \ud558\ub2e4\ubcf4\uba74, \ud2b9\uc815\ud55c feature\ub97c \uac1c\ubc1c\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\uac00 \uc0dd\uae34\ub2e4. \uadf8\ub7f0\ub370, \uc774\uac8c \uac04\ub2e8\ud558\uc9c0 \uc54a\uace0 \uaf64 \uc624\ub798 \uac78\ub9ac\ub294 \uc791\uc5c5\uc774\ub77c\uba74, \uae30\uc874\uc5d0 \uc791\ub3d9\ud558\ub358 \ucf54\ub4dc\ub4e4\uc774 \ub9dd\uac00\uc9c8 \uc704\ud5d8\uc774 \uc874\uc7ac\ud558\uae30 \ub54c\ubb38\uc5d0, \uae30\uc874 \ucf54\ub4dc\ub97c \uac74\ub4dc\ub9ac\uc9c0 \uc54a\uace0 \ub530\ub85c \ubcf5\uc0ac\ud574\uc11c feature\uac1c\ubc1c\uc744 \uc644\ub8cc\ud558\uace0 \uc815\uc0c1\uc791\ub3d9\uc744 \ud655\uc778\ud55c \ud6c4\uc5d0 \uc6d0\ub798 \ucf54\ub4dc\uc5d0 \ud569\uce58\ub294\uac8c \uac00\uc7a5 \uc548\uc804\ud55c \ubc29\ubc95\uc774\ub2e4. \uc774\ub7f4 \ub54c \uc0ac\uc6a9\ub418\ub294\uac8c branch \uc774\ub2e4.<\/p>\n\n\n\n<p>branch\uc758 \uc815\uccb4\ub294 \uadf8\ub0e5 \uc2a4\ub0c5\uc0f7\uc5d0 \ud574\ub2f9\ud558\ub294 commit\uc5d0 \ub300\ud55c \ud3ec\uc778\ud130\ub2e4.  \ub2e4\ub978\uc791\uc5c5\uc5c6\uc774 \uadf8\ub0e5 git branch\uba85\ub839\uc744 \uc368\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>~\/g\/myproject \u2502 main>  git branch                     \n* main\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git branch                     <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> main<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>git branch\ub294 \ud604\uc7ac branch\ub4e4\uc744 \ubcf4\uc5ec\uc900\ub2e4. main branch\uac00 \ud45c\uc2dc\ub418\uace0, \uc67c\ucabd\uc5d0 \ubcc4\ud45c\uac00 \ubd99\uc5b4 \uc788\ub2e4. \ubcc4\ud45c\ub294 HEAD \ud3ec\uc778\ud130\ub97c \ub098\ud0c0\ub0b4\ub294\ub370, \uc5ec\ub7ec\uac1c\uc758 branch\uac00 \uc874\uc7ac\ud560 \ub54c \ud604\uc7ac \uc0ac\uc6a9\uc911\uc778 branch\uac00 \ubb34\uc5c7\uc778\uc9c0 \ud45c\uc2dc\ud558\uace0 \uc788\ub2e4. \uc544\ubb34\ub7f0 \ucd94\uac00 branch\ub97c \uc0dd\uc131\ud558\uc9c0 \uc54a\uc558\uae30 \ub54c\ubb38\uc5d0, \uae30\ubcf8 branch\uc778 main \ud558\ub098\ub9cc \uc874\uc7ac\ud558\uace0 HEAD \ub610\ud55c \uc774\ub97c \uac00\ub9ac\ud0a4\uace0 \uc788\ub2e4. git log &#8211;graph \ub85c \ud655\uc778\ud574\ubcf4\uba74,<\/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>~\/g\/myproject \u2502 main>  git log --graph --oneline                 \n* 650a1e6 (HEAD -> main) delete dont_needed_anymore.txt\n* b502882 add file maybe dont needed anymore later\n* a67ee7e add more text to readme.txt\n* 046e349 add sleep function\n* 0d52a66 the first commit.\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git log --graph --oneline                 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 650a1e6 (<\/span><span style=\"color: #F69D50\">HEAD<\/span><span style=\"color: #ADBAC7\"> -<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><span style=\"color: #ADBAC7\">) delete dont_needed_anymore.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> b502882 add file maybe dont needed anymore later<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> a67ee7e add more text to readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 046e349 add sleep function<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 0d52a66 the first commit.<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uac00\uc7a5 \ub9c8\uc9c0\ub9c9 commit\uc778 \uccab\uc904\uc744 \ubcf4\uba74, (HEAD -&gt; main) \uc774\ub77c\uace0 \ub3d9\uc77c\ud55c \ub0b4\uc6a9\uc744 \ud45c\uc2dc\ud558\uace0 \uc788\ub2e4. GUI\ud234\uc744 \uc0ac\uc6a9\ud574 \ud655\uc778\ub3c4 \uac00\ub2a5\ud558\ub2e4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"657\" height=\"199\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch01-1-1.png\" alt=\"\" class=\"wp-image-4809\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch01-1-1.png 657w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch01-1-1-300x91.png 300w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/figure>\n<\/div>\n\n\n<p>\uc704 \uc774\ubbf8\uc9c0\ub294 vscode\uc758 \ud655\uc7a5 \ud50c\ub7ec\uadf8\uc778\uc778 Git Graph\ub77c\ub294 git\uc6a9 GUI \ud234\ub85c \ubcf8 \ubaa8\uc2b5\uc774\ub2e4. HEAD \uc640 main \ube0c\ub79c\uce58\uac00 \uba85\ud655\ud558\uac8c \ubcf4\uc5ec \uac00\uc838\uc654\ub2e4. HEAD\ub294 main\uc606\uc5d0 \ub3d9\uadf8\ub77c\ubbf8 \ud45c\uc2dc\uac00 \ud604\uc7ac HEAD\uc758 \uc704\uce58\ub97c \ud45c\uc2dc\ud55c\ub2e4. <\/p>\n\n\n\n<p>branch\ub97c \uc4f0\uae30\uc804\uc5d0 git checkout \uc5d0 \ub300\ud574 \uba3c\uc800 \uc54c\uc544\ubcf4\uc790. git checkout\uc740 \ub85c\uceec\uc758 \uc791\uc5c5 \ub514\ub809\ud1a0\ub9ac\ub97c \ud2b9\uc815 commit\uc758 \uc2a4\ub0c5\uc0f7 \uc0c1\ud0dc\ub85c \ubc14\uafd4\uc900\ub2e4. \ub2e4\ub974\uac8c \ub9d0\ud558\uba74, HEAD \ud3ec\uc778\ud130\ub97c \ud2b9\uc815 commit\uc73c\ub85c \uc774\ub3d9\ud55c\ub2e4\ub294 \uc598\uae30\uc640 \ub3d9\uc77c\ud558\ub2e4. \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>git checkout &lt;commit><\/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\">checkout<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">commi<\/span><span style=\"color: #ADBAC7\">t<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc5ec\uae30\uc11c commit\uc740 \ud574\uc26c\ucf54\ub4dc\uac00 \uae30\ubcf8 ID\uc774\uc9c0\ub9cc, \ud3ec\uc778\ud130\ub85c \uc4f0\uc774\ub294 \ube0c\ub79c\uce58\ub098 \ud0dc\uadf8\ub4f1\uc744 \uc368\ub3c4 \ub41c\ub2e4. \ube0c\ub79c\uce58\ub098 \ud0dc\uadf8\uac00 \uc0ac\uc6a9\uc790\uac00 \uc27d\uac8c commit \uc5d0 \uc811\uadfc\ud558\uae30 \uc704\ud55c \uac83\uc774\ub2c8 \ubb50 \ub2f9\uc5f0\ud558\ub2e4. <\/p>\n\n\n\n<p>\uc608\ub97c \ub4e4\uc5b4, \ubc14\ub85c \uc774\uc804 commit\uc778 b5028821\ub85c \uc791\uc5c5 \ub514\ub809\ud1a0\ub9ac\ub97c \ubc14\uafd4\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(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>~\/g\/myproject \u2502 main>  git checkout b502882  \nNote: switching to 'b502882'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n  git switch -c &lt;new-branch-name>\n\nOr undo this operation with:\n\n  git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at b502882 add file maybe dont needed anymore later<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git checkout b502882  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Note:<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">switching<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;b502882&#39;.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">You<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">are<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">in<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;detached HEAD&#39;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">state.<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">You<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">can<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">look<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">around,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">make<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">experimental<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">and<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">them,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">and<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">you<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">can<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">discard<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">any<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commits<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">you<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">make<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">in<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">this<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">state<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">without<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">impacting<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">any<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branches<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">by<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">switching<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">back<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">a<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">If<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">you<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">want<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">create<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">a<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">new<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">retain<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commits<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">you<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">create,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">you<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">may<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">do<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">so<\/span><span style=\"color: #ADBAC7\"> (now <\/span><span style=\"color: #96D0FF\">or<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">later<\/span><span style=\"color: #ADBAC7\">) by using -c with the switch command. Example:<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">switch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">-c<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">new-branch-nam<\/span><span style=\"color: #ADBAC7\">e<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Or<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">undo<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">this<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">operation<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">with:<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #F69D50\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">switch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">-<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Turn<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">off<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">this<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">advice<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">by<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">setting<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">config<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">variable<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">advice.detachedHead<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">false<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">HEAD<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">is<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">now<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">at<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">b502882<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">add<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">file<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">maybe<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">dont<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">needed<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">anymore<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">later<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc77c\ub2e8 \ubcc0\uacbd \ub418\uc5c8\uc74c\uc744 \uc54c\ub9ac\ub294 &#8220;Note: switching to &#8216;b502882&#8242;&#8221;\ub77c\uace0 \ud45c\uc2dc\ub41c\ub2e4. \uadf8\ub9ac\uace0 \uc7a5\ubb38\uc758 \uc124\uba85\uc774 \ub098\uc624\ub294\ub370, HEAD\uac00 master \ube0c\ub79c\uce58\uc5d0\uc11c \ub5a8\uc5b4\uc838(detached) \ub098\uc654\ub2e4\ub294 \uacbd\uace0\ubb38\uacfc \uc124\uba85\uc774\ub2e4. HEAD\uac00 detached \ub418\uc5c8\ub2e4\ub294\uac74 \ub9e4\uc6b0 \uc911\uc694\ud558\ub2e4. \ub300\ubd80\ubd84\uc758 \uc791\uc5c5\uc774 \ube0c\ub79c\uce58(\uac00\uc7a5 \ucd5c\uadfc commit)\uc5d0\uc11c \uc9c4\ud589\ub418\uae30 \ub54c\ubb38\uc774\ub2e4. \uc791\uc5c5\uc790\uac00 HEAD\uac00 detached\ub41c\uac78 \uc778\uc9c0\ud558\uc9c0 \ubabb\ud558\uace0 \uc218\uc815\uc791\uc5c5\uc744 \ud55c\ub2e4\uba74 \ub0ad\ud328\ub97c \ubcf4\uac8c \ub420 \uac83\uc774\ub2e4. \uacfc\uac70 commit\uc73c\ub85c \ub3cc\uc544\uac00 \uc774\ub7ec\ud55c \uc218\uc815\uc791\uc5c5\uc744 \ud558\uac8c\ub418\ub294 \uacbd\uc6b0\ub294 \uc774 commit\uc744 \ubca0\uc774\uc2a4\ub85c \ud558\ub294 \uc0c8\ub85c\uc6b4 \ube0c\ub79c\uce58\ub97c \uc0dd\uc131\ud558\ub294 \uacbd\uc6b0 \ubfd0\uc77c \uac83\uc774\ub2e4.<\/p>\n\n\n\n<p>\uc5ec\uae30\uc11c \uc0c8 \ube0c\ub79c\uce58\ub97c \ub9cc\ub4e4\uac70\ub098 undo\ub97c \ud558\uace0 \uc2f6\uc73c\uba74 git switch\ub97c \uc4f0\ub77c\ub294 \uc548\ub0b4\ub3c4 \uc788\ub294\ub370 \uc774\uac74 \ub4a4\uc5d0 \uc0b4\ud3b4\ubcf4\uaca0\ub2e4. \ub9c8\uc9c0\ub9c9\uc904\uc5d0\ub3c4 &#8220;HEAD is now at b502882&#8243;\uc640 \ud574\ub2f9 commit \uba54\uc138\uc9c0\ub97c \ubcf4\uc5ec\uc918\uc11c HEAD\uac00 \uc5b4\ub514\uc5d0 \uc788\ub294\uc9c0 \uc54c\ub824\uc900\ub2e4. \ub85c\uceec \ud30c\uc77c\uc744 \ubcf4\uba74 \uc0ad\uc81c\ud588\ub358 dont_needed_anymore.txt\uac00 \uc874\uc7ac\ud558\uace0 \ud574\ub2f9 commit \uc0c1\ud0dc\ub85c \ubcc0\uacbd\ub418\uc5b4 \uc788\uc74c\uc744 \uc54c \uc218 \uc788\ub2e4. \uc774\ub97c \uc774\uc6a9\ud574\uc11c \uacfc\uac70 \ub9b4\ub9ac\uc988 \ud588\ub358 \ubc84\uc804\uc744 \ub2e4\uc2dc \ube4c\ub4dc\ud558\uace0 \uc2f6\uc744 \ub54c \uc774\ub97c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\uace0, \ud2b9\uc815 commit\ubc84\uc804\uc5d0\uc11c \ubcf4\uace0\ub41c \ubc84\uadf8\uc218\uc815\uc744 \uc704\ud574\uc11c \ud574\ub2f9 commit\uc73c\ub85c \ub418\ub3cc\uc544\uac00 \uc7ac\ud604 \uc2dc\ud5d8\ubc0f \uc218\uc815\uc744 \ud574\ubcfc \uc218\ub3c4 \uc788\ub2e4. \ubb3c\ub860, \uc218\uc815\ud558\ub294 \uacbd\uc6b0\ub294 \uc0c8\ub85c\uc6b4 \ube0c\ub79c\uce58\ub97c \ub530\ub77c.<\/p>\n\n\n\n<p>\ubcc0\uacbd\ub41c \uc0c1\ud0dc\uc5d0\uc11c git log\ub97c \ubcf4\uba74,<\/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>~\/g\/myproject \u2502 @b5028821 > git log --graph --oneline     \n* b502882 (HEAD) add file maybe dont needed anymore later\n* a67ee7e add more text to readme.txt\n* 046e349 add sleep function\n* 0d52a66 the first commit.<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 @b5028821 <\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> git log --graph --oneline     <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> b502882 (<\/span><span style=\"color: #F69D50\">HEAD<\/span><span style=\"color: #ADBAC7\">) add file maybe dont needed anymore later<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> a67ee7e add more text to readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 046e349 add sleep function<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 0d52a66 the first commit.<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>master \ube0c\ub79c\uce58\uc758 \ucd5c\uadfc commit\uc774 \uc548\ubcf4\uc774\uace0 \ud604\uc7ac checkout\ub41c commit\ubd80\ud130 \ubcf4\uc5ec\uc8fc\uace0 \uc788\ub2e4. git log\uac00 \uae30\ubcf8\uc801\uc73c\ub85c \ud604\uc7ac HEAD\uc758 \uc774\uc804\ub9cc \ubcf4\uc5ec\uc8fc\ub294 \uac83\uc778\ub370, \uc774\ub7ec\ud55c \ubd80\ubd84\ub4e4\uc774 \ubbf8\uc219\ud55c \uc0ac\uc6a9\uc790\uc5d0\uac8c \ud63c\ub780\uc744 \uc904 \uc218 \uc788\ub2e4. \uc804\uccb4\ub97c \ubcf4\uace0 \uc2f6\uc73c\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 &#8211;all \uc635\uc158\uc774 \ud544\uc694\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>~\/g\/myproject \u2502 @b5028821 > git log --graph --oneline --all \n* 650a1e6 (main) delete dont_needed_anymore.txt\n* b502882 (HEAD) add file maybe dont needed anymore later\n* a67ee7e add more text to readme.txt\n* 046e349 add sleep function\n* 0d52a66 the first commit.<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 @b5028821 <\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> git log --graph --oneline --all <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 650a1e6 (<\/span><span style=\"color: #F69D50\">main<\/span><span style=\"color: #ADBAC7\">) delete dont_needed_anymore.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> b502882 (<\/span><span style=\"color: #F69D50\">HEAD<\/span><span style=\"color: #ADBAC7\">) add file maybe dont needed anymore later<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> a67ee7e add more text to readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 046e349 add sleep function<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 0d52a66 the first commit.<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc77c\ub2e8 \ub2e4\uc2dc \uc6d0\ub798\ub300\ub85c \ub3cc\uc544\uac00\uc790. main\uc740 \ud56d\uc0c1 \ub9c8\uc9c0\ub9c9 commit\uc5d0 \uc704\uce58\ud558\ubbc0\ub85c commit \ud574\uc26c\ucf54\ub4dc\ub300\uc2e0 \uc774 branch name\uc744 \uc774\uc6a9\ud560 \uc218 \uc788\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>~\/g\/myproject \u2502 @b5028821 > git checkout main             \nPrevious HEAD position was b502882 add file maybe dont needed anymore later\nSwitched to branch 'main'\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 @b5028821 <\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> git checkout main             <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Previous<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">HEAD<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">position<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">was<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">b502882<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">add<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">file<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">maybe<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">dont<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">needed<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">anymore<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">later<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Switched<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;main&#39;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>HEAD\uac00 \uc788\ub358 \uc774\uc804 commit\uacfc \uc0c8\ub85c \ubcc0\uacbd\ub41c \uc704\uce58\ub97c \ud45c\uc2dc\ud574\uc900\ub2e4. <\/p>\n\n\n\n<p>checkout\uc740 \ud30c\uc77c\uc5d0\ub9cc \uc801\uc6a9\ub3c4 \uac00\ub2a5\ud558\ub2e4. \uc6d0\ud558\ub294 \ud30c\uc77c\ub9cc \uc774\uc804 commit \uc0c1\ud0dc\ub85c \ub418\ub3cc\ub9ac\ub294 \uac83\uc774\ub2e4. \ud615\uc2dd\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>git checkout &lt;commit> -- &lt;filename><\/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\">checkout<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">commi<\/span><span style=\"color: #ADBAC7\">t<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">filenam<\/span><span style=\"color: #ADBAC7\">e<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>&#8220;&#8211;&#8221; \ub97c \ud30c\uc77c\uc774\ub984 \uc774\uc804\uc5d0 \ubd99\uc5ec\uc8fc\ub294 \uc774\uc720\ub294, \uc774 \uc774\ud6c4\ub85c\ub294 \uc635\uc158\uc73c\ub85c \uc778\uc2dd\ud558\uc9c0 \ub9d0\ub77c\ub294 \uc758\ubbf8\uc774\ub2e4. \ucc29\uc624\uac00 \uc0dd\uaca8 \ud30c\uc77c\uc774\ub984\uc744 \uc635\uc158\uc73c\ub85c \uc778\uc2dd\ud558\ub294 \uac83\uc744 \ubc29\uc9c0\ud558\uae30 \uc704\ud568\uc774\ub2e4. \ud30c\uc77c\uc744 checkout \ud558\uae30 \uc704\ud574\uc11c \ud2b9\uc815 \ud30c\uc77c\uc5d0 \ub300\ud574\uc11c\ub9cc git log\ub97c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\ub2e4. \uc774\ub807\uac8c \ud558\uba74 \ud574\ub2f9 \ud30c\uc77c\uc758 \uc774\ub825\uc744 \ud655\uc778 \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>~\/g\/myproject \u2502 main > git log --oneline readme.txt    \na67ee7e add more text to readme.txt\n0d52a66 the first commit.<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> git log --oneline readme.txt    <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">a67ee7e<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">add<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">more<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">text<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">0d52a66<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">the<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">first<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit.<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\ucc38\uace0\ub85c -p \uc635\uc158\uc744 \uc4f0\uba74 \ubcc0\uacbd\ub0b4\uc6a9\uae4c\uc9c0 \ud655\uc778\uc774 \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(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>~\/g\/myproject \u2502 main> git log --oneline -p readme.txt\na67ee7e add more text to readme.txt\ndiff --git a\/readme.txt b\/readme.txt\nindex 224ab0e..2565aa9 100644\n--- a\/readme.txt\n+++ b\/readme.txt\n@@ -1,4 +1,5 @@\n this is the first file.\n file name is 01.txt\n I'm studying git.\n+Why am I so idiot?\n \n0d52a66 the first commit.\ndiff --git a\/readme.txt b\/readme.txt\nnew file mode 100644\nindex 0000000..224ab0e\n--- \/dev\/null\n+++ b\/readme.txt\n@@ -0,0 +1,4 @@\n+this is the first file.\n+file name is 01.txt\n+I'm studying git.\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> git log --oneline -p readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">a67ee7e<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">add<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">more<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">text<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">diff<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">a\/readme.txt<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">b\/readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">index<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">224<\/span><span style=\"color: #96D0FF\">ab0e..2565aa9<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">100644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">---<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">a\/readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">+++<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">b\/readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">@@<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">-1,4<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">+1,5<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">@@<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">this<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">is<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">the<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">first<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">file.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">file<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">name<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">is<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">01<\/span><span style=\"color: #96D0FF\">.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">I<\/span><span style=\"color: #F69D50\">&#39;m studying git.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">+Why am I so idiot?<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">0d52a66 the first commit.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">diff --git a\/readme.txt b\/readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">new file mode 100644<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">index 0000000..224ab0e<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">--- \/dev\/null<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">+++ b\/readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">@@ -0,0 +1,4 @@<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">+this is the first file.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">+file name is 01.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">+I&#39;<\/span><span style=\"color: #F69D50\">m<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">studying<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">git.<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">+<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc608\ub97c\ub4e4\uc5b4, \uc704\uc758 git log\ub97c \ubcf4\uba74, a67ee7e commit\uc5d0\uc11c readme.txt \uc5d0 \ud30c\uc77c\ub0b4\uc6a9\uc744 \ucd94\uac00\ud588\uc5c8\ub2e4. \uadf8 \uc774\uc804\uc778 0d52a66 commit\uc73c\ub85c \ud574\ub2f9\ud30c\uc77c\uc744 \ub418\ub3cc\ub824\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>~\/g\/myproject \u2502 main> git checkout 0d52a66 -- readme.txt<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> git checkout 0d52a66 -- readme.txt<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>git checkout \uc744 \ud2b9\uc815 \ud30c\uc77c\uc5d0 \ud558\uac8c\ub418\uba74, \ub2e8\uc9c0 \uadf8 \ud30c\uc77c\uc744 \ud574\ub2f9 commit\uc2dc\uc758 \ub0b4\uc6a9\uc73c\ub85c \ubcc0\uacbd\ud574\uc904 \ubfd0\uc774\ub2e4. \ub2e4\ub978 \ubcc0\uacbd\uc0ac\ud56d\uc740 \uc5c6\uc73c\ubbc0\ub85c git log\ub4f1\uc73c\ub85c \ubcc0\uacbd\uc0ac\ud56d\uc740 \uc804\ud600 \ubcf4\uc774\uc9c0 \uc54a\ub294\ub2e4. \ud30c\uc77c\ub0b4\uc6a9\ub9cc \ubc14\ub010 \uac83\uc774\ubbc0\ub85c git status\ub85c \ud655\uc778\uc774 \uac00\ub2a5\ud558\uba70 \ud30c\uc77c\ubcc0\uacbd\uc5d0 \ub300\ud55c \ucc45\uc784\uc740 \uc628\uc804\ud788 \uc791\uc5c5\uc790\uc5d0\uac8c \uc788\ub2e4. <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\uc8fc\uc758\ud560 \uc810\uc740 file\uc744 checkout \ud588\uc744 \ub54c \uc790\ub3d9\uc73c\ub85c staging area\uc5d0\ub3c4 \uc62c\ub77c\uac04\ub2e4\ub294 \uc810<\/mark><\/strong>\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>~\/g\/myproject \u2502 main +1>  git status \nOn branch main\nChanges to be committed:\n  (use \"git restore --staged &lt;file>...\" to unstage)\n\tmodified:   readme.txt<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main +<\/span><span style=\"color: #F47067\">1&gt;<\/span><span style=\"color: #ADBAC7\">  git status <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">On<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">be<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">committed:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  (<\/span><span style=\"color: #F69D50\">use<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git restore --staged &lt;file&gt;...&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">unstage<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">modified:<\/span><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc774\ub294 git\uc758 \ub514\uc790\uc778\uacfc \uad00\ub828\ub41c \ub0b4\uc6a9\uc778\ub370, HEAD\uc640 \ub2e4\ub978 \ubaa8\ub4e0\uac74 staged change\ub85c \ucde8\uae09\ud55c\ub2e4\ub294 \uc598\uae30\uac00 \uc788\ub2e4. \uc790\uc138\ud55c\uac74 <a href=\"https:\/\/stackoverflow.com\/questions\/44163307\/why-does-git-checkout-branch-file-stage-the-change\">https:\/\/stackoverflow.com\/questions\/44163307\/why-does-git-checkout-branch-file-stage-the-change<\/a> \ub0b4\uc6a9\uc744 \ucc38\uace0. \uac04\ub2e8\ud558\uac8c \uc0dd\uac01\ud558\uc790\uba74, commit\uc744 checkout\ud558\ub294\uac74 \uc804\uccb4 \uc2a4\ub0c5\uc0f7\uc744 \uac00\uc838\uc624\uae30 \ub54c\ubb38\uc5d0 HEAD \ud3ec\uc778\ud130\ub9cc \uc62e\uae30\uba74 \ub418\uae30 \ub54c\ubb38\uc5d0 \ubb38\uc81c\uac00 \uc5c6\ub294\ub370, \uac1c\ubcc4 \ud30c\uc77c\uc744 checkout\ud558\uba74 \ub530\ub85c \uc800\uc7a5\ub418\ub294 \ub0b4\uc6a9\uc774 \uc5c6\ub2e4. git\uc740 \uc774\uac78 cache \uc601\uc5ed, \uadf8\ub7ec\ub2c8\uae4c staging area\ub97c \uc774\uc6a9\ud574 \uc800\uc7a5\ud558\ub294 \uac83\uc73c\ub85c \ubcf4\uc778\ub2e4.<\/p>\n\n\n\n<p>\uc774\uc81c, checkout\ud574\uc11c \ubcc0\uacbd\ub41c \ub0b4\uc6a9\uc744 \uc0c8\ub85c commit \ud558\uba74 \ud2b9\uc815 \ud30c\uc77c\uc744 \uacfc\uac70\uc758 \ub0b4\uc6a9\uc73c\ub85c \ub418\ub3cc\ub9ac\uac8c \ub418\ub294 \uac83\uc73c\ub85c, \ud30c\uc77c\uc744 \uc608\uc804\uc0c1\ud0dc\ub85c \ubcf5\uad6c\ud558\ub294 \ud558\ub098\uc758 \ubc29\ubc95\uc774 \ub41c\ub2e4. <\/p>\n\n\n\n<p>checkout\uc5d0 \ub300\ud574 \uc880 \uae38\uc5c8\ub294\ub370, \ub2e4\uc2dc branch\ub85c \ub3cc\uc544\uac00\ubcf4\uc790. \uc55e\uc5d0\uc11c \uae30\ubcf8\uc73c\ub85c \uc6b0\ub9ac\ub294 main \ube0c\ub79c\uce58\ub97c \uc0ac\uc6a9\uc911\uc774\ub77c\uace0 \ud588\ub2e4. \ub610\ud55c, \uc774\uac83\uc740 \ud2b9\uc815 commit\uc744 \uac00\ub9ac\ud0a4\ub294 \ud3ec\uc778\ud130\uc774\uae30\ub3c4 \ud558\ub2e4. \uc0c8 \ube0c\ub79c\uce58\ub97c \ub9cc\ub4e0\ub2e4\ub294\uac74, \uc0c8\ub85c\uc6b4 \ud3ec\uc778\ud130\ub97c \ub9cc\ub4dc\ub294 \uc77c\uc774\ub2e4. git branch\ub97c \uc774\uc6a9\ud558\uc5ec \uc0c8 \ube0c\ub79c\uce58\ub97c \ub9cc\ub4e4\uc5b4\ubcf4\uc790. \ud604\uc7ac commit\uc5d0\uc11c \ub9cc\ub4dc\ub294 \uacbd\uc6b0 \ub2e4\uc74c\uacfc \uac19\uc774 \ube0c\ub79c\uce58 \uc774\ub984\ub9cc \uc368\uc8fc\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 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 branch &lt;branch name><\/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\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">nam<\/span><span style=\"color: #ADBAC7\">e<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/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>~\/g\/myproject \u2502 main>  git branch new_feature \n\n~\/g\/myproject \u2502 main  git log --graph --oneline \n* 650a1e6 (HEAD -> main, new_feature) delete dont_needed_anymore.txt\n* b502882 add file maybe dont needed anymore later\n* a67ee7e add more text to readme.txt\n* 046e349 add sleep function\n* 0d52a66 the first commit.\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git branch new_feature <\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main  git log --graph --oneline <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 650a1e6 (<\/span><span style=\"color: #F69D50\">HEAD<\/span><span style=\"color: #ADBAC7\"> -<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">new_feature<\/span><span style=\"color: #ADBAC7\">) delete dont_needed_anymore.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> b502882 add file maybe dont needed anymore later<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> a67ee7e add more text to readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 046e349 add sleep function<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 0d52a66 the first commit.<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>new_feature\ub77c\ub294 \ube0c\ub79c\uce58\ub97c \uc0dd\uc131\ud558\uace0 git log\ub85c \ud655\uc778\ud588\ub354\ub2c8, HEAD -&gt; main, new_feature \ub77c\uace0 \ubaa8\ub450\uac00 \ud558\ub098\uc758 commit\uc5d0 \ud45c\uc2dc\ub418\uba70, HEAD\ub294 main\uc744 \uac00\ub9ac\ud0a4\uace0 \uc788\ub2e4\uace0 \ud45c\uc2dc\ub41c\ub2e4. new_feature\ub77c\ub294 \ud3ec\uc778\ud130\ub9cc \uc0dd\uc131\ud55c \uac83\uc774\ub2e4. \uc778\uc790\uc5c6\uc774 git branch\ub97c \uc368\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>~\/g\/myproject \u2502 main>  git branch\n* main\n  new_feature<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git branch<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #F69D50\">new_feature<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc0c8\ub85c \uc0dd\uc131\ud55c new_feature \ube0c\ub79c\uce58\uac00 \ucd94\uac00\ub410\uc9c0\ub9cc, main\uc5d0 *\ud45c\uac00 \ud45c\uc2dc\ub418\uc5b4 HEAD\uac00 main\uc744 \uac00\ub9ac\ud0a4\uace0 \uc788\uc74c\uc744 \ub098\ud0c0\ub0b8\ub2e4. <\/p>\n\n\n\n<p>\uc55e\uc5d0\uc11c \ucb49 \ubd10\uc654\ub4ef\uc774 HEAD\uac00 \uac00\ub9ac\ud0a4\ub294 commit, \ub610\ub294 branch\uac00 \ud604\uc7ac \ub85c\uceec \uc791\uc5c5\uc911\uc778 \ub0b4\uc6a9\uc774\ub2e4. main\uc5d0\uc11c new_feature\ub85c \ube0c\ub79c\uce58\ub97c \ubcc0\uacbd\ud574\ubcf4\uc790. \uc55e\uc5d0\uc11c \ubd24\ub4ef\uc774 HEAD \ud3ec\uc778\ud130\ub97c \ubcc0\uacbd\ud558\ub294 \ubc29\ubc95\uc740 git checkout\uc744 \uc0ac\uc6a9\ud55c\ub2e4. \uc778\uc790\ub85c branch \uc774\ub984\uc744 \uc8fc\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(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>~\/g\/myproject \u2502 main>  git checkout new_feature\nSwitched to branch 'new_feature'\n\n~\/g\/myproject \u2502 new_feature>  git status\nOn branch new_feature\nnothing to commit, working tree clean\n\n~\/g\/myproject \u2502 new_feature>  git branch\n  main\n* new_feature\n\n~\/g\/myproject \u2502 new_feature>  git log --graph --oneline \n* 650a1e6 (HEAD -> new_feature, main) delete dont_needed_anymore.txt\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git checkout new_feature<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Switched<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;new_feature&#39;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 new_feature<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git status<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">On<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">new_feature<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">nothing<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">working<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">tree<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">clean<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 new_feature<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git branch<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #F69D50\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> new_feature<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 new_feature<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git log --graph --oneline <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> 650a1e6 (<\/span><span style=\"color: #F69D50\">HEAD<\/span><span style=\"color: #ADBAC7\"> -<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">new_feature,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><span style=\"color: #ADBAC7\">) delete dont_needed_anymore.txt<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>new_feature\ub85c \ube0c\ub79c\uce58\ub97c \ubcc0\uacbd \ud6c4, status, branch, log\ub85c \ud655\uc778\ud55c \uacb0\uacfc\ub2e4. status\ub97c \uc4f0\uba74, &#8220;On branch new_feature&#8221;\ub77c\uace0 \ud604\uc7ac \uc704\uce58\ud55c \ube0c\ub79c\uce58\ub97c \ubcf4\uc5ec\uc900\ub2e4. branch \uba85\ub839 \ub610\ud55c, new_feature\ub85c *\ud45c\uac00 \uc774\ub3d9\ud55c \uac78 \ubcfc \uc218 \uc788\ub2e4. log\uc5d0\uc11c\ub3c4 HEAD -&gt; new_feature \ub85c HEAD \uac00 new_feature \ube0c\ub79c\uce58\ub97c \uac00\ub9ac\ud0a4\uace0 \uc788\uc74c\uc744 \uc54c \uc218 \uc788\ub2e4. <\/p>\n\n\n\n<p>\uc774\uc81c \uc774 \uc0c8\ub85c\uc6b4 \ube0c\ub79c\uce58\uc5d0\uc11c commit\uc744 \ud574\ubcf4\uc790. saying.py\uc5d0 \ub2e4\uc74c\uacfc \uac19\uc774 shout() \ud568\uc218\ub97c \ucd94\uac00\ud588\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)\">saying.py<\/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>def main():\n    hello(\"world\")\n    goodbye(\"world\")\n    shout(\"world\")\n...\ndef shout(name):\n    print(f\"{name.upper()}!!!\")\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: #F47067\">def<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">main<\/span><span style=\"color: #ADBAC7\">():<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    hello(<\/span><span style=\"color: #96D0FF\">&quot;world&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    goodbye(<\/span><span style=\"color: #96D0FF\">&quot;world&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    shout(<\/span><span style=\"color: #96D0FF\">&quot;world&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6CB6FF\">...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">def<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">shout<\/span><span style=\"color: #ADBAC7\">(name):<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    <\/span><span style=\"color: #6CB6FF\">print<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F47067\">f<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #F47067\">{<\/span><span style=\"color: #ADBAC7\">name.upper()<\/span><span style=\"color: #F47067\">}<\/span><span style=\"color: #96D0FF\">!!!&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6CB6FF\">...<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\ud30c\uc77c\uc744 add \ud558\uace0 commit \ud558\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>~\/g\/myproject \u2502 new_feature !1>  git add .   \n~\/g\/myproject \u2502 new_feature +1>  git commit -m \"add shout() to saying.py\"\n&#91;new_feature 5737e57&#93; add shout() to saying.py\n 1 file changed, 4 insertions(+)\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 new_feature <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git add <\/span><span style=\"color: #6CB6FF\">.<\/span><span style=\"color: #ADBAC7\">   <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 new_feature +<\/span><span style=\"color: #F47067\">1&gt;<\/span><span style=\"color: #ADBAC7\">  git commit -m <\/span><span style=\"color: #96D0FF\">&quot;add shout() to saying.py&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;new_feature <\/span><span style=\"color: #6CB6FF\">5737<\/span><span style=\"color: #ADBAC7\">e57&#93; add <\/span><span style=\"color: #DCBDFB\">shout<\/span><span style=\"color: #ADBAC7\">() to saying.py<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\"> 1 file changed, 4 insertions(<\/span><span style=\"color: #F69D50\">+<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\ud604\uc7ac \uc0c1\ud669\uc744 \ud655\uc778\ud558\uae30 \uc704\ud574 git log\ub85c \ud655\uc778\ud574\ub3c4 \ub418\uc9c0\ub9cc, \uc2dc\uac01\uc801\uc73c\ub85c \ubcf4\uae30\ud3b8\ud55c GUI\ud234\uc744 \uc0ac\uc6a9\ud574 \ubcf4\uaca0\ub2e4. \ub2e4\uc74c\uc740 Git Cola\uc5d0 \ud3ec\ud568\ub41c DAG \ud234\ub85c \ubcf8 \uac83\uc774\ub2e4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"554\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch03.png\" alt=\"\" class=\"wp-image-4835\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch03.png 734w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch03-300x226.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/figure>\n<\/div>\n\n\n<p>\uc624\ub978\ucabd \uadf8\ub798\ud504\ub97c \ubcf4\uba74, main\uc744 base\ub85c \ud574\uc11c \uc0dd\uc131\ub41c commit\uc744 HEAD\uc640 new_feature\uac00 \uac00\ub9ac\ud0a4\uace0 \uc788\ub294 \uac83\uc744 \uc54c \uc218 \uc788\ub2e4. \uc774\uc0c1\ud0dc\uc5d0\uc11c main \ube0c\ub79c\uce58\ub85c \ub3cc\uc544\uac00 \uc0c8\ub85c\uc6b4 commit\uc744 \ud574\ubcf4\uc790. checkout\uc73c\ub85c main\ube0c\ub79c\uce58\ub85c \ubcc0\uacbd\ud558\uc5ec \uc0c8 commit\uc744 \ub9cc\ub4e0\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>~\/g\/myproject \u2502 new_feature>  git checkout main\nSwitched to branch 'main'\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 new_feature<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git checkout main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Switched<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;main&#39;<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>checkout\uc744 \uc774\uc6a9\ud574 main \ube0c\ub79c\uce58\ub85c \ubcc0\uacbd\ud588\ub2e4. \uc0c8\ub85c\uc6b4 commit\uc744 \uc704\ud574 saying.py\uc5d0 \ub2e4\uc74c \ud568\uc218\ub97c \ucd94\uac00\ud588\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)\">saying.py<\/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>...\ndef call(name):\n    print(f\"Hey! {name}\")\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: #6CB6FF\">...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">def<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #DCBDFB\">call<\/span><span style=\"color: #ADBAC7\">(name):<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    <\/span><span style=\"color: #6CB6FF\">print<\/span><span style=\"color: #ADBAC7\">(<\/span><span style=\"color: #F47067\">f<\/span><span style=\"color: #96D0FF\">&quot;Hey! <\/span><span style=\"color: #F47067\">{<\/span><span style=\"color: #ADBAC7\">name<\/span><span style=\"color: #F47067\">}<\/span><span style=\"color: #96D0FF\">&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6CB6FF\">...<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\ud574\ub2f9 \ud30c\uc77c\uc744 add \ud6c4 commit. <\/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>~\/g\/myproject \u2502 main !1>  git add .   \n\n ~\/g\/myproject \u2502 main +1  git commit -m \"add call() to saying.py\"\n&#91;main d19622e&#93; add call() to saying.py\n 1 file changed, 3 insertions(+)\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git add <\/span><span style=\"color: #6CB6FF\">.<\/span><span style=\"color: #ADBAC7\">   <\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F69D50\">~\/g\/myproject<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">\u2502<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">+1<\/span><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #96D0FF\">git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">-m<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;add call() to saying.py&quot;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">&#91;main d19622e&#93; add <\/span><span style=\"color: #DCBDFB\">call<\/span><span style=\"color: #ADBAC7\">() to saying.py<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\"> 1 file changed, 3 insertions(<\/span><span style=\"color: #F69D50\">+<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc774\uc81c \ub2e4\uc2dc git log\ub97c \uc0b4\ud3b4\ubcf4\uc790. \uc5ed\uc2dc\ub098 \ubcf4\uae30 \ud3b8\ud558\uac8c GUI\ub85c \ubcf4\uaca0\ub2e4. \uc774\ubc88\uc5d4 vs code \uc758 extension\uc73c\ub85c \uc788\ub294 Git Graph\ub97c \uc0ac\uc6a9\ud588\ub2e4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"362\" height=\"273\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch04.png\" alt=\"\" class=\"wp-image-4844\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch04.png 362w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch04-300x226.png 300w\" sizes=\"auto, (max-width: 362px) 100vw, 362px\" \/><\/figure>\n<\/div>\n\n\n<p>\uadf8\ub798\ud504\uc758 \uc9c1\uc120\ub77c\uc778\uc73c\ub85c \uac00\uc7a5 \ucd5c\uc2e0\uc758 commit\uc744 \uac00\ub9ac\ud0a4\ub294 main\uc774 \ubee3\uc5b4 \ub098\uc654\uace0, \ubc14\ub85c \uc774\uc804 commit\uc5d0\uc11c  new_feature \ube0c\ub79c\uce58\uac00 \ub9d0 \uadf8\ub300\ub85c \uac00\uc9c0\ucc98\ub7fc \ubee3\uc5b4\ub098\uac00 \uc788\ub294 \uac83\uc744 \ubcfc \uc218 \uc788\ub2e4.(branch\ub77c\ub294 \uc774\ub984\uc744 \uc4f0\ub294 \uc774\uc720\uaca0\uc9c0) \uc774\uc81c, main\uacfc new_feature \ube0c\ub79c\uce58\ub294 \uac01\uac01 \uac01\uc790\uc758 \uae38\uc744 \uac00\uac8c \ub418\ub294 \uac83\uc73c\ub85c, \uac01 \ube0c\ub79c\uce58\uc5d0\uc11c \uc791\uc5c5\ud558\ub294 \ub0b4\uc6a9\uc740 \ucc28\ud6c4\uc5d0 merge\ub97c \ud558\uae30 \uc804\uae4c\uc9c4 \ub9cc\ub098\uc9c0 \uc54a\ub294\ub2e4.<\/p>\n\n\n\n<p>\uc9c0\uae08\uae4c\uc9c0 branch \uba85\ub839\uc73c\ub85c \ube0c\ub79c\uce58\ub97c \ub9cc\ub4e4\uace0 checkout\uc73c\ub85c \ud574\ub2f9 \ube0c\ub79c\uce58\ub85c switcing \ud558\ub294\uac78 \ubc30\uc6e0\ub2e4. \ubcf4\ud1b5 \ube0c\ub79c\uce58 \uc0dd\uc131\uc740 \ucd94\uac00 \uc791\uc5c5\uc744 \uc704\ud55c \uac83\uc774\ubbc0\ub85c, \ud55c \ubc29\uc5d0 branch\uc0dd\uc131\uacfc \ubcc0\uacbd\uc744 \ud560 \uc218 \uc788\ub2e4\uba74 \ud3b8\ub9ac\ud558\ub2e4. git checkout\uc5d0 &#8216;-b&#8217;\uc635\uc158\uc744 \uc774\uc6a9\ud558\uba74 \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 branch -b &lt;branch name><\/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\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">-b<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">nam<\/span><span style=\"color: #ADBAC7\">e<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">git restore\/ switch<\/h3>\n\n\n\n<p>\uc55e\uc5d0\uc11c \ucb49 \ubd10\uc654\ub2e4\uba74, checkout\uc774 \uc880 \ud63c\ub780\uc2a4\ub7ec\uc6b8 \uc218 \uc788\ub2e4. &#8220;HEAD\ub97c \uc6d0\ud558\ub294 commit \ub610\ub294 branch\ub85c \uc62e\uae30\ub294 \uba85\ub839\uc5b4&#8221;\ub77c\uace0 \uc774\ud574\ud558\uba74 \uc88b\uaca0\ub294\ub370, \ud30c\uc77c\ub4e4\ub3c4 checkout\uc774 \ub41c\ub2e4. \uc2e4\uc81c\ub85c \ub9ce\uc774 \ud63c\ub780\uc2a4\ub7ec\uc6e0\ub294\uc9c0, \uc774 \ub450\uac00\uc9c0\ub97c \ubcc4\ub3c4 \uae30\ub2a5\uc73c\ub85c \uad6c\ubd84\ud574\uc11c \uc0c8\ub85c\uc6b4 \uba85\ub839\uc5b4\uac00 \ub098\uc654\ub2e4. \ube0c\ub79c\uce58\ub97c \uc62e\uaca8\ub2e4\ub2c8\ub294\uac74 git switch, \ud30c\uc77c\uc744 \ub418\ub3cc\ub9ac\ub294\uac74 git restore \uba85\ub839\uc5b4\uac00 \ubc14\ub85c \uadf8\uac83\uc774\ub2e4. \uc774 \uba85\ub839\uc5b4\ub4e4\uc758 \uae30\ub2a5\uc740 checkout\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\uacfc \ub3d9\uc77c\ud558\uc9c0\ub9cc, \uc9c1\uad00\uc801\uc774\uace0 \ud63c\ub780\uc2a4\ub7fd\uc9c0 \uc54a\ub2e4.<\/p>\n\n\n\n<p>git restore\uc758 \uc0ac\uc6a9\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>git restore --source &lt;commit> &lt;file><\/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\">restore<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--source<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">commi<\/span><span style=\"color: #ADBAC7\">t<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">fil<\/span><span style=\"color: #ADBAC7\">e<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc791\uc5c5\uc744 \ud558\ub2e4\uac00 \ubcf5\uc7a1\ud574\uc9c0\uace0 \uaf2c\uc5ec\uc11c \uc6d0\ub798 \ud30c\uc77c\ub85c \ubcf5\uad6c\ud558\uace0 \uc2f6\uc740 \uacbd\uc6b0\ub97c \uc0dd\uac01\ud574\ubcf4\uc790. \uc2dc\ud5d8\uc0bc\uc544 readme.txt\ud30c\uc77c\uc744 \uc218\uc815\ud588\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>~\/g\/myproject \u2502 main !1>  git status \nOn branch main\nChanges not staged for commit:\n  (use \"git add &lt;file>...\" to update what will be committed)\n  (use \"git restore &lt;file>...\" to discard changes in working directory)\n\tmodified:   readme.txt\n\nno changes added to commit (use \"git add\" and\/or \"git commit -a\")\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git status <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">On<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">not<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">staged<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">for<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  (<\/span><span style=\"color: #F69D50\">use<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git add &lt;file&gt;...&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">update<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">what<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">will<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">be<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">committed<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  (<\/span><span style=\"color: #F69D50\">use<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git restore &lt;file&gt;...&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">discard<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">in<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">working<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">directory<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">modified:<\/span><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">no<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">added<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit<\/span><span style=\"color: #ADBAC7\"> (use <\/span><span style=\"color: #96D0FF\">&quot;git add&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">and\/or<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git commit -a&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>git status\ub85c \ubcf4\uba74 staged\ub418\uc9c4 \uc54a\uc558\uc9c0\ub9cc modefied\ub85c \ud45c\uc2dc\ub418\ub294\uac8c \ubcf4\uc778\ub2e4. \ub2e4\uc74c\uc758 \uba85\ub839\uc5b4\ub85c \ub85c\uceec \uc791\uc5c5\ub0b4\uc6a9\uc744 \uc190\uc27d\uac8c \uc5c6\uc560\ubc84\ub9b4 \uc218 \uc788\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>~\/g\/myproject \u2502 main !1>  git restore readme.txt\n~\/g\/myproject \u2502 main>  git status\nOn branch main\nnothing to commit, working tree clean<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git restore readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git status<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">On<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">nothing<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">working<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">tree<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">clean<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>commit\uc744 \uba85\uc2dc\ud558\uc9c0 \uc54a\uc558\ub294\ub370, \uc774\ub7f0\uacbd\uc6b0 \ud604\uc7ac HEAD\uc704\uce58\uc758 commit\uc744 \uc0ac\uc6a9\ud55c\ub2e4.<\/p>\n\n\n\n<p> \uc800 \uc55e\uc5d0\uc11c \uc774\ubbf8 staged file\uc744 \ucde8\uc18c\ud558\uba74\uc11c restore\ub97c \ub9cc\ub0ac\uc5c8\ub2e4. readme.txt\uc5d0 \ub2e4\uc74c\uc758 \ud14d\uc2a4\ud2b8\ub97c \ucd94\uac00\ud558\uace0 stage\uc5d0 \ucd94\uac00\ud574\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)\">readme.txt<\/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>...\nLet's dance on sage!<\/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\">...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #adbac7\">Let&#39;s dance on sage!<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p><\/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>~\/g\/myproject \u2502 main !1>  git add readme.txt\n\n~\/g\/myproject \u2502 main +1>  git status\nOn branch main\nChanges to be committed:\n  (use \"git restore --staged &lt;file>...\" to unstage)\n\tmodified:   readme.txt\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git add readme.txt<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main +<\/span><span style=\"color: #F47067\">1&gt;<\/span><span style=\"color: #ADBAC7\">  git status<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">On<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">be<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">committed:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  (<\/span><span style=\"color: #F69D50\">use<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git restore --staged &lt;file&gt;...&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">unstage<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">modified:<\/span><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc774\uac78 \ub418\ub3cc\ub9ac\ub294 \uacbd\uc6b0\ub294 \uc55e\uc5d0\uc11c \ubd24\ub4ef\uc774 &#8216;&#8211;staged&#8217; \uc635\uc158\uc744 \uc0ac\uc6a9\ud558\ub294 \uac83\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(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>git restore --staged readme.txt\n\n~\/g\/myproject \u2502 main !1>  git status\nOn branch main\nChanges not staged for commit:\n  (use \"git add &lt;file>...\" to update what will be committed)\n  (use \"git restore &lt;file>...\" to discard changes in working directory)\n\tmodified:   readme.txt\n\nno changes added to commit (use \"git add\" and\/or \"git commit -a\")<\/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\">restore<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--staged<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git status<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">On<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">not<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">staged<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">for<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  (<\/span><span style=\"color: #F69D50\">use<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git add &lt;file&gt;...&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">update<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">what<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">will<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">be<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">committed<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  (<\/span><span style=\"color: #F69D50\">use<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git restore &lt;file&gt;...&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">discard<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">in<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">working<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">directory<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #F69D50\">modified:<\/span><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">no<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">changes<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">added<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">commit<\/span><span style=\"color: #ADBAC7\"> (use <\/span><span style=\"color: #96D0FF\">&quot;git add&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">and\/or<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;git commit -a&quot;<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>restore\ub294 \uc774\uc815\ub3c4\ub85c \uc54c\uc544\ubcf4\uace0 switch\ub97c \uc54c\uc544\ubcf4\uc790. switch \uc0ac\uc6a9\ubc95\uc740 \uac04\ub2e8\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 switch &lt;branch name><\/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\">switch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">nam<\/span><span style=\"color: #ADBAC7\">e<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc544\uae4c \uc0dd\uc131\ud588\ub358 new_feature \ube0c\ub79c\uce58\ub85c \ubcc0\uacbd\ud574\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>~\/g\/myproject \u2502 main !1>  git switch new_feature\nM\treadme.txt\nSwitched to branch 'new_feature'\n\n~\/g\/myproject \u2502 new_feature !1>  git branch\n  main\n* new_feature\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git switch new_feature<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">M<\/span><span style=\"color: #ADBAC7\">\t<\/span><span style=\"color: #96D0FF\">readme.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Switched<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;new_feature&#39;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 new_feature <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git branch<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #F69D50\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> new_feature<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uac04\ub2e8\ud558\uac8c \ubcc0\uacbd\ub418\ub294\uac78 \ud655\uc778 \ud560 \uc218 \uc788\ub2e4. switch\uc5d0\ub3c4 &#8216;git -b checkout&#8217; \uacfc \ub3d9\uc77c\ud558\uac8c \ube0c\ub79c\uce58\ub97c \uc0dd\uc131\uacfc \ub3d9\uc2dc\uc5d0 \ud574\ub2f9 \ube0c\ub79c\uce58\ub85c \ubcc0\uacbd\ud558\ub294\uac78 \ud55c\ubc88\uc5d0 \uac00\ub2a5\ud55c \uc635\uc158\uc774 \uc788\ub2e4. \ubc14\ub85c &#8216;-c&#8217; \uc635\uc158\uc73c\ub85c create\ub97c \uc758\ubbf8\ud55c\ub2e4. \uc77c\ub2e8, \ub2e4\uc2dc main \ube0c\ub79c\uce58\ub85c \ub3cc\uc544\uac04 \ud6c4 testing \ube0c\ub79c\uce58\ub97c \uc774 switch \uba85\ub839\uc5b4\ub85c \uc0dd\uc131\ud574\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 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 switch -c &lt;branch name><\/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\">switch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">-c<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">nam<\/span><span style=\"color: #ADBAC7\">e<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\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>~\/g\/myproject \u2502 main !1>  git switch -c testing\nSwitched to a new branch 'testing'\n\n~\/g\/myproject \u2502 testing !1>  git branch\n  main\n  new_feature\n* testing\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git switch -c testing<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Switched<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">a<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">new<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">branch<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&#39;testing&#39;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 testing <\/span><span style=\"color: #F47067\">!1&gt;<\/span><span style=\"color: #ADBAC7\">  git branch<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #F69D50\">main<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">  <\/span><span style=\"color: #F69D50\">new_feature<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">*<\/span><span style=\"color: #ADBAC7\"> testing<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc0c8\ub85c\uc6b4 testing \ube0c\ub79c\uce58\uac00 \uc0dd\uc131\ub418\uace0 HEAD\uac00 \ud574\ub2f9 \ube0c\ub79c\uce58\ub85c \uc774\ub3d9\ud55c \uac83\uc744 \ud655\uc778 \ud560 \uc218 \uc788\ub2e4. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"675\" height=\"255\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch05.png\" alt=\"\" class=\"wp-image-4868\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch05.png 675w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/04\/branch05-300x113.png 300w\" sizes=\"auto, (max-width: 675px) 100vw, 675px\" \/><\/figure>\n<\/div>\n\n\n<p>vscode \uc758 Git Graph\ub85c \ubcf4\uba74 \uc704\uc640 \uac19\uc740\ub370, \uac19\uc740 commit\uc5d0 \uacb9\uccd0\uc788\uc5b4 \ud655\uc778\uc774 \ubc14\ub85c \uc548\ub418\uc9c0\ub9cc, HEAD \ud45c\uc2dc\uc758 \ubb3c\uc74c\ud45c\uc5d0\uc11c \ub4dc\ub294 \ud234\ud301\uc744 \uc77d\uc5b4\ubcf4\uba74 \ud604\uc7ac &#8220;testing&#8221; \ube0c\ub79c\uce58\uac00 checked out\ub418\uc5b4 \uc788\ub2e4\uace0 \ub098\uc628\ub2e4. <\/p>\n\n\n\n<h3 class=\"wp-block-heading\">git tag<\/h3>\n\n\n\n<p>git\uc740 commit\uc5d0 \uc774\ub984\ud45c\ub97c \ubd99\uc5ec\ub193\uc744 \uc218 \uc788\ub2e4. \uc774\ub97c tag\ub77c\uace0 \ud55c\ub2e4. branch\ub3c4 \ube44\uc2b7\ud558\uac8c \uc0dd\uac01\ud560 \uc218 \uc788\ub294\ub370, branch\ub294 commit\uc774 \uc9c4\ud589\ub428\uc5d0 \ub530\ub77c \uac19\uc774 \ub098\uc544\uac00\uba70 \uc0c8\ub85c\uc6b4 commit\uc744 \uac00\ub974\ud0a4\uc9c0\ub9cc, tag\ub294 \ud558\ub098\uc758 commit\uc5d0 \ubd99\uc5ec\ub193\uc73c\uba74 \uadf8\uac83\uc73c\ub85c \ub05d, \ubcc0\ud558\uc9c0 \uc54a\ub294\ub2e4. \uc5b4\uca0c\ub4e0, git tag \ub294 \uae30\ubcf8\uc801\uc73c\ub85c branch\uc640 \uc720\uc0ac\ud558\uc9c0\ub9cc \uc704\uce58\ubcc0\uacbd\uc774 \uc548\ub418\ub294 \ud3ec\uc778\ud130\ub85c \uc0dd\uac01\ud558\uba74 \ub41c\ub2e4. <\/p>\n\n\n\n<p>git tag\uc5d0\ub294 lightweight tag\uc640 annotated tag \ub450\uac00\uc9c0\uac00 \uc788\ub2e4. lightweight tag\ub294 \ub2e8\uc21c\ud558\uac8c commit\uc5d0 \uc774\ub984\ud45c\ub97c \ubd99\uc774\ub294\uac78 \ub9d0\ud55c\ub2e4. \uc55e\uc5d0\uc11c \uc0dd\uc131\ud588\ub358 testing \ube0c\ub79c\uce58\uc5d0 tag\ub97c \ub2ec\uc544\ubcf4\uc790. \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 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 tag \"tagname\" &lt;commit><\/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\">tag<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">&quot;tagname&quot;<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">commi<\/span><span style=\"color: #ADBAC7\">t<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span><\/code><\/pre><\/div>\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>~\/g\/myproject \u2502 main>  git tag v0.1test testing\n~\/g\/myproject \u2502 main>  git tag                 \nv0.1test<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git tag v0.1test testing<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git tag                 <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">v0.1test<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc704\uc640\uac19\uc774 \ubcc4\ub2e4\ub978 \uc635\uc158\uc774 \uc5c6\uc73c\uba74 lightweight tag\uac00 \ubd99\ub294\ub2e4. <\/p>\n\n\n\n<p>annotated tag\ub97c \uc4f0\ub294 \ubc29\ubc95\uc740 \uc5ec\uae30\uc5d0 &#8216;-a&#8217; \uc635\uc158\uc744 \ubd99\uc5ec\uc8fc\ub294 \uac83\uc774\ub2e4. \uadf8\ub9ac\uace0 -m \uc635\uc158\uc740 \ud55c\uc904 \uba54\uc138\uc9c0\ub97c \uc791\uc131\ud558\ub294\ub370 \uc0ac\uc6a9\ub420 \uc218 \uc788\ub2e4. \uc704 git graph\uc5d0\uc11c new_feature \ube0c\ub79c\uce58\ub97c \ubd84\uae30\ud558\uae30\uc804, base commit\uc5d0 annotated tag\ub97c \ubd99\uc5ec\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>~\/g\/myproject \u2502 main>  git tag -a v0.1release 650a1e67 -m \"fake release tag\"\n\n~\/g\/myproject \u2502 main>  git tag\nv0.1release\nv0.1test<\/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\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git tag -a v0.1release 650a1e67 -m <\/span><span style=\"color: #96D0FF\">&quot;fake release tag&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git tag<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">v0.1release<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">v0.1test<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>git tag\ub97c \ubcf4\ub294 \uba85\ub839\uc5b4\ub294 \uc778\uc790\uc5c6\uc774 git tag\ub97c \uc4f0\uba74 \ub41c\ub2e4. \uc704\uc5d0\uc11c \uc0c8\ub85c \uc0dd\uc131\ud55c tag\uac00 \ubcf4\uc774\ub294\uac78 \ud655\uc778\ud560 \uc218 \uc788\ub2e4. \ud574\ub2f9 tag\uc5d0 \ub300\ud55c \uc815\ubcf4\ub97c \ubcf4\uace0 \uc2f6\uc73c\uba74 git show\ub97c \uc0ac\uc6a9\ud55c\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>~\/g\/myproject \u2502 main>  git show v0.1test\ncommit d19622e19247d07e21555d3803eba76d32c4e9ad (tag: v0.1test, testing)\nAuthor: batmask &lt;batmask@naver.com>\nDate:   Thu Apr 30 12:35:10 2026 +0900\n\n    add call() to saying.py\n\ndiff --git a\/sayings.py b\/sayings.py\n...\n==========================================================\n~\/g\/myproject \u2502 main>  git show v0.1release\ntag v0.1release\nTagger: batmask &lt;batmask@naver.com>\nDate:   Sun May 3 18:35:32 2026 +0900\n\nfake release tag\n\ncommit 650a1e6795908d4a4c20412fbe2a091bd3a45d28 (tag: v0.1release)\nAuthor: batmask &lt;batmask@naver.com>\nDate:   Sun Apr 26 16:32:05 2026 +0900\n\n    delete dont_needed_anymore.txt\n...\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: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git show v0.1test<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">commit<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">d19622e19247d07e21555d3803eba76d32c4e9ad<\/span><span style=\"color: #ADBAC7\"> (tag: <\/span><span style=\"color: #96D0FF\">v0.1test,<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">testing<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Author:<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">batmask<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">batmask@naver.co<\/span><span style=\"color: #ADBAC7\">m<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Date:<\/span><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #96D0FF\">Thu<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">Apr<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">30<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">12<\/span><span style=\"color: #96D0FF\">:35:10<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">2026<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">+0900<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    <\/span><span style=\"color: #F69D50\">add<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">call<\/span><span style=\"color: #ADBAC7\">() <\/span><span style=\"color: #96D0FF\">to<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">saying.py<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">diff<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">--git<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">a\/sayings.py<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">b\/sayings.py<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6CB6FF\">...<\/span><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">==========================================================<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F47067\">~<\/span><span style=\"color: #ADBAC7\">\/g\/myproject \u2502 main<\/span><span style=\"color: #F47067\">&gt;<\/span><span style=\"color: #ADBAC7\">  git show v0.1release<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">tag<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">v0.1release<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Tagger:<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">batmask<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">batmask@naver.co<\/span><span style=\"color: #ADBAC7\">m<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Date:<\/span><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #96D0FF\">Sun<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">May<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">3<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">18<\/span><span style=\"color: #96D0FF\">:35:32<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">2026<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">+0900<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">fake<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">release<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">tag<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">commit<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">650<\/span><span style=\"color: #96D0FF\">a1e6795908d4a4c20412fbe2a091bd3a45d28<\/span><span style=\"color: #ADBAC7\"> (tag: <\/span><span style=\"color: #96D0FF\">v0.1release<\/span><span style=\"color: #ADBAC7\">)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Author:<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">batmask<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #F47067\">&lt;<\/span><span style=\"color: #96D0FF\">batmask@naver.co<\/span><span style=\"color: #ADBAC7\">m<\/span><span style=\"color: #F47067\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F69D50\">Date:<\/span><span style=\"color: #ADBAC7\">   <\/span><span style=\"color: #96D0FF\">Sun<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">Apr<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">26<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">16<\/span><span style=\"color: #96D0FF\">:32:05<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">2026<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">+0900<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #ADBAC7\">    <\/span><span style=\"color: #F69D50\">delete<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">dont_needed_anymore.txt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #6CB6FF\">...<\/span><\/span>\n<span class=\"line\"><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\uc704\uc758 git show\uacb0\uacfc\ub97c \ubcf4\uba74, lightweight tag\uc640 annotated tag\uc758 \ucc28\uc774\uac00 \uba85\ud655\ud788 \ubcf4\uc778\ub2e4. lightweight\ub294 tag\uc774\ub984\uc678\uc5d0 \uc544\ubb34\ub7f0 \uc815\ubcf4\uac00 \uc5c6\uc9c0\ub9cc, annotated\ub294 Tagger, Date, tag message\ub4f1 tag \uc790\uccb4\uc5d0 \uac01\uc885 \uc815\ubcf4\uac00 \ubd99\ub294\ub2e4. <\/p>\n\n\n\n<p>tag \uc758 \uc0ad\uc81c\ub294 &#8216;-d&#8217; \uc635\uc158\uc744 \uc4f4\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 tag -d v0.1test<\/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\">tag<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #6CB6FF\">-d<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">v0.1test<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\ud2b9\uc815 tag\ub85c \uc791\uc5c5 \ub514\ub809\ud1a0\ub9ac\ub97c \ubcc0\uacbd\ud558\ub824\uba74 checkout \uc5d0 tag\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 checkout v0.1test<\/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\">checkout<\/span><span style=\"color: #ADBAC7\"> <\/span><span style=\"color: #96D0FF\">v0.1test<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>tag\uc5d0\ub294 switch\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc5c6\ub2e4. \ud558\uc9c0\ub9cc, &#8211;detach \uc635\uc158\uc744 \uc4f0\uba74 \uac00\ub2a5\ud558\ub2e4. &#8230;tag\uc758 \uacbd\uc6b0\ub294 \uadf8\ub0e5 checkout \uc4f0\ub294\uac8c \uc824 \ud3b8\ud558\uace0 \ucee8\uc149\uc5d0 \ub9de\ub294\uac70 \uac19\ub2e4.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>tag\uc758 \uc0ac\uc6a9 \ubaa9\uc801\uc740 \ubcf4\ud1b5 \ub9b4\ub9ac\uc988 \ubc84\uc804\uc744 \ud45c\uc2dc\ud558\uae30 \uc704\ud568\uc774\ub2e4. github\uc744 \uc4f0\ub294 \uacbd\uc6b0, github\uc790\uccb4\uc5d0\uc11c \uc774 tag\uc640 \uc5f0\ub3d9\ud558\uc5ec release note \ubc0f \ud30c\uc77c \ub2e4\uc6b4\ub85c\ub4dc\uae4c\uc9c0 \uc9c0\uc6d0\ud558\uace0 \uc788\ub2e4. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"144\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag01.png\" alt=\"\" class=\"wp-image-5223\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag01.png 699w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag01-300x62.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><figcaption class=\"wp-element-caption\">Branches \uc606\uc5d0 tags \ud45c\uc2dc<\/figcaption><\/figure>\n<\/div>\n\n\n<p>github \uc5d0 tags\ub4e4\uc774 \ud45c\uc2dc\ub41c\ub2e4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"440\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag02-1024x440.png\" alt=\"\" class=\"wp-image-5224\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag02-1024x440.png 1024w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag02-300x129.png 300w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag02-768x330.png 768w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag02.png 1274w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag03-1024x504.png\" alt=\"\" class=\"wp-image-5225\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag03-1024x504.png 1024w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag03-300x148.png 300w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag03-768x378.png 768w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag03.png 1212w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>\ud558\ub098\ub97c \ud074\ub9ad\ud574 \ub4e4\uc5b4\uac00\uba74, \uac01\uc885 \uc815\ubcf4\uc640 release note, \uc774\uc288\uc5d0\ub300\ud574 \ucc98\ub9ac\ub41c\uac74 \uc774\uc288\ubc88\ud638\uac00 \ubd99\uc5b4\uc788\ub2e4.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"396\" src=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag04.png\" alt=\"\" class=\"wp-image-5226\" srcset=\"http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag04.png 856w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag04-300x139.png 300w, http:\/\/batmask.net\/wordpress\/wp-content\/uploads\/2026\/05\/tag04-768x355.png 768w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/figure>\n<\/div>\n\n\n<p>\ub9c8\uc9c0\ub9c9\ubd80\ubd84\uc744 \ubcf4\uba74 \uad00\ub828\ub41c \ud30c\uc77c\ub3c4 \ucca8\ubd80\uac00 \uac00\ub2a5\ud558\ub2e4\ub294\uac78 \uc54c \uc218 \uc788\ub2e4. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>git branch \/ checkout \uc774\uc804\uae4c\uc9c0\uc758 \uacfc\uc815\uc774 \uadf8\ub0e5 \ud63c\uc790 \ud788\uc2a4\ud1a0\ub9ac \ub0a8\uae30\ub294 \uc815\ub3c4\uc758 \uae30\ubcf8\uc801\uc778 VCS \uc0ac\uc6a9\uc774\uc5c8\ub2e4\uba74, \uc5ec\uae30\uc11c\ubd80\ud130 \ub09c\uc774\ub3c4\uac00 \uc62c\ub77c\uac00\ub294 \uc911\uc0c1\uae09\uae30\ub2a5\uc774\ub77c\uace0 \ud560 \uc218 \uc788\ub2e4. \uac1c\ubc1c \ub610\ub294 \uc791\uc5c5\uc744 \ud558\ub2e4\ubcf4\uba74, \ud2b9\uc815\ud55c feature\ub97c \uac1c\ubc1c\ud574\uc57c \ud558\ub294 \uacbd\uc6b0\uac00 \uc0dd\uae34\ub2e4. \uadf8\ub7f0\ub370, \uc774\uac8c \uac04\ub2e8\ud558\uc9c0 \uc54a\uace0 \uaf64 \uc624\ub798 \uac78\ub9ac\ub294 \uc791\uc5c5\uc774\ub77c\uba74, \uae30\uc874\uc5d0 \uc791\ub3d9\ud558\ub358 \ucf54\ub4dc\ub4e4\uc774 \ub9dd\uac00\uc9c8 \uc704\ud5d8\uc774 \uc874\uc7ac\ud558\uae30 \ub54c\ubb38\uc5d0, \uae30\uc874 \ucf54\ub4dc\ub97c \uac74\ub4dc\ub9ac\uc9c0 \uc54a\uace0 <a href=\"http:\/\/batmask.net\/index.php\/2026\/05\/03\/4947\/\" class=\"btn btn-link continue-link\">\ub354 \uc77d\uae30<\/a><\/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":[67,619,620,633],"class_list":["post-4947","post","type-post","status-publish","format-standard","hentry","category-git","tag-git","tag-git-branch","tag-git-checkout","tag-git-tag"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/4947","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=4947"}],"version-history":[{"count":74,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/4947\/revisions"}],"predecessor-version":[{"id":5227,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/posts\/4947\/revisions\/5227"}],"wp:attachment":[{"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/media?parent=4947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/categories?post=4947"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/batmask.net\/index.php\/wp-json\/wp\/v2\/tags?post=4947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}