git 로컬 변경 사항 폐기
# Discarding local changes (permanently) to a file:
git checkout -- <file>
# Discard all local changes to all files permanently:
git reset --hard
unstaged 변경 사항 실행 취소 git
git checkout -- .
git 은 손상되지 않은 파일을 버립니다
git stash save --keep-index --include-untracked
git 에서 파일 변경 사항을 제거하는 방법
git clean -df
git checkout -- .