고정되지 않은 변경 사항 되돌리기 git
git checkout -- path/to/file/to/revert
저장되지 않은 변경 사항 버리기 git
#For all unstaged files in current working directory use:
git checkout -- .
#For a specific file use:
git checkout -- path/to/file/to/revert
새 분기에 대한 태그되지 않은 변경 사항 커밋
git checkout -b new_branch_name
git 변경 사항 삭제
git clean -df
git checkout -- .
git 손상되지 않은 파일 삭제
git clean -df