파일 지우기 git clean -f
어떤 파일이 지워지는지 보기 git clean -f -n
디렉토리를 지우기 원하면 git clean -f -d 또는 git clean -fd
ignored files 를 지울 땐, git clean -f -X 또는 git clean -fX
ignored files 와 non-ignored files 상관없이 지우기 git clean -f -x 또는 git clean -fx
(*주의 'X' 와 'x' 는 다르게 동작, 대소문자 가림)
If clean.requireForce is set to "true" (the default) in your configuration,
then unless you specify -f nothing will actually happen.
'Bite Bits > Git' 카테고리의 다른 글
git bash 에서 한글깨짐 문제 (0) | 2017.07.07 |
---|---|
이미 commit 되어 관리 중인 파일 제외 시키기 (0) | 2017.06.01 |
git tag 삭제하기 (로컬, 원격) (0) | 2016.05.10 |
git 명령어 정리 (0) | 2016.04.14 |
git 실수로 한 commit, push 강제 취소 시키기 (0) | 2015.12.22 |