From e71879c92958310425c4511f33e435a6f1877eca Mon Sep 17 00:00:00 2001 From: hoonti06 Date: Sun, 20 Mar 2022 16:09:24 +0900 Subject: [PATCH] =?UTF-8?q?docs=20:=20git=20=EB=AA=85=EB=A0=B9=20=EB=AA=A8?= =?UTF-8?q?=EC=9D=8C=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _wiki/git-commands.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 _wiki/git-commands.md diff --git a/_wiki/git-commands.md b/_wiki/git-commands.md new file mode 100644 index 0000000..4b84da4 --- /dev/null +++ b/_wiki/git-commands.md @@ -0,0 +1,28 @@ +--- +layout : wiki +title : +summary : +date : 2022-03-20 15:56:04 +0900 +updated : 2022-03-20 16:02:20 +0900 +tag : +public : true +published : true +parent : +latex : false +--- +* TOC +{:toc} + +- git reset undo + ```bash + git reset 'HEAD@{1}' + ``` + - + +
+- untracked files 한 번에 제거하는 방법 + ```bash + git clean -f + git clean -fd # directory까지 제거 + ``` +