{"id":1283,"date":"2015-05-11T17:01:51","date_gmt":"2015-05-11T08:01:51","guid":{"rendered":"http:\/\/43.203.250.216\/?p=1283"},"modified":"2020-09-11T12:17:56","modified_gmt":"2020-09-11T03:17:56","slug":"tip-git%ec%97%90%ec%84%9c-%ec%82%ad%ec%a0%9c%ed%95%9c-file%eb%93%a4%ec%9d%84-%ed%95%9c%eb%b2%88%ec%97%90-%ec%a0%95%eb%a6%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/litcoder.com\/?p=1283","title":{"rendered":"[Tip] Git:\uc0ad\uc81c\ud55c file\ub4e4 \ud55c\ubc88\uc5d0 \uc815\ub9ac\ud558\uae30"},"content":{"rendered":"<p>Git repository\uc5d0\uc11c \ub9ce\uc740 \ud30c\uc77c\ub4e4\uc744 \uc0ad\uc81c\ud558\uace0 \uc801\uc6a9\ud558\ub294 \uacbd\uc6b0, <em>git rm<\/em> \uba85\ub839\uc5b4\ub85c \ud30c\uc77c\uc774\ub984\ub4e4\uc744 \ud558\ub098\ud558\ub098 \uc785\ub825\ud574 \uc8fc\ub294\uac83\uc740 \ubb34\ucc99 \uadc0\ucc2e\ub2e4. \uc608\uc804\uc5d0\ub294 \uc138\ub85c \ud3b8\uc9d1\uc774 \ub418\ub294 Ultra-edit \uac19\uc740 utility\ub85c \uc0ad\uc81c\ub41c \ubaa9\ub85d\uc744 \ubcf5\uc0ac\ud55c \ub2e4\uc74c git rm \uba85\ub839\uc5b4 line\uc73c\ub85c \ud3b8\uc9d1\ud574\uc11c \ub2e4\uc2dc terminal\uc5d0 \ubd99\uc5ec \ub123\ub294 \uc0bd\uc9c8\uc744 \ud588\uc5c8\ub2e4.<\/p>\n<p><em><a href=\"https:\/\/www.kernel.org\/pub\/software\/scm\/git\/docs\/git-ls-files.html\">Git-ls-files<\/a><\/em> command\ub97c \uc4f0\uba74 \ub354 \uc774\uc0c1 \uadf8\ub7f4 \ud544\uc694\uac00 \uc5c6\ub2e4. \uc774 command\ub294 repository\uc758 file\ub4e4\uc744 \uc9c0\uc815\ud55c \uc0c1\ud0dc\ubcc4\ub85c \uc54c\ub824\uc900\ub2e4. \uc608\ub97c\ub4e4\uc5b4, \uc0ad\uc81c\ub41c file\uc758 \ubaa9\ub85d\uc744 \ubcf4\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \ud558\uba74 \ub41c\ub2e4.<\/p>\n<pre class=\"theme:dark-terminal lang:default highlight:0 decode:true\">git ls-files --deleted<\/pre>\n<p>\uc774\ub807\uac8c \uc5bb\uc5b4\uc9c4 \ubaa9\ub85d\uc744 git rm command\uc5d0 \ub118\uaca8\ub3c4 \ub300\ubd80\ubd84\uc758 \uacbd\uc6b0 \ub3d9\uc791\ud558\uaca0\uc9c0\ub9cc, \ud30c\uc77c \uc774\ub984\uc5d0 \uacf5\ubc31\ubb38\uc790\ub97c \ud3ec\ud568\ud558\ub294 \uacbd\uc6b0\uc5d0\ub294 \uc81c\ub300\ub85c \ub3d9\uc791\ud558\uc9c0 \uc54a\ub294\ub2e4. \uacf5\ubc31\ubb38\uc790\uc5d0 \ub300\ud574\uc11c\ub3c4 \uc81c\ub300\ub85c \ub3d9\uc791\ud558\ub3c4\ub85d sed\ub85c \uacf5\ubc31\ubb38\uc790 \uc55e\uc5d0 &#8216;\\&#8217;\ub97c \uc0bd\uc785\ud558\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \ud55c\ub2e4.<\/p>\n<pre class=\"theme:dark-terminal lang:default highlight:0 decode:true   \">git ls-files --delete|sed 's\/ \/\\\\ \/g'|xargs git rm\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Git repository\uc5d0\uc11c \ub9ce\uc740 \ud30c\uc77c\ub4e4\uc744 \uc0ad\uc81c\ud558\uace0 \uc801\uc6a9\ud558\ub294 \uacbd\uc6b0, git rm \uba85\ub839\uc5b4\ub85c \ud30c\uc77c\uc774\ub984\ub4e4\uc744 \ud558\ub098\ud558\ub098 \uc785\ub825\ud574 \uc8fc\ub294\uac83\uc740 \ubb34\ucc99 \uadc0\ucc2e\ub2e4. \uc608\uc804\uc5d0\ub294 \uc138\ub85c \ud3b8\uc9d1\uc774 \ub418\ub294 Ultra-edit \uac19\uc740 utility\ub85c \uc0ad\uc81c\ub41c \ubaa9\ub85d\uc744 \ubcf5\uc0ac\ud55c \ub2e4\uc74c git rm \uba85\ub839\uc5b4 line\uc73c\ub85c \ud3b8\uc9d1\ud574\uc11c \ub2e4\uc2dc terminal\uc5d0 \ubd99\uc5ec \ub123\ub294 \uc0bd\uc9c8\uc744 \ud588\uc5c8\ub2e4. Git-ls-files command\ub97c \uc4f0\uba74 \ub354 \uc774\uc0c1 \uadf8\ub7f4 \ud544\uc694\uac00 \uc5c6\ub2e4. \uc774 command\ub294 repository\uc758 file\ub4e4\uc744 \uc9c0\uc815\ud55c \uc0c1\ud0dc\ubcc4\ub85c \uc54c\ub824\uc900\ub2e4. \uc608\ub97c\ub4e4\uc5b4, \uc0ad\uc81c\ub41c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[53,125],"class_list":["post-1283","post","type-post","status-publish","format-standard","hentry","category-tools","tag-git","tag-tip"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1283"}],"version-history":[{"count":2,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1283\/revisions"}],"predecessor-version":[{"id":2565,"href":"https:\/\/litcoder.com\/index.php?rest_route=\/wp\/v2\/posts\/1283\/revisions\/2565"}],"wp:attachment":[{"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/litcoder.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}