Perintah untuk Buang Perubahan di Git
git stash save --keep-index --include-untracked
Kasmin Nicko
git stash save --keep-index --include-untracked
git clean -dxn . # dry-run to inspect the list of files-to-be-removed
git clean -dxf . # REMOVE ignored/untracked files (in the current directory)
git checkout -- . # ERASE changes in tracked files (in the current directory)