Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git stash save --keep-index
- git checkout path/to/file/to/revert
- git checkout -- .
- git checkout .
- git checkout-index -a -f
- git diff | git apply --reverse
- for f in `git ls-files -m`; do git checkout HEAD -- $f; done
Add Comment
Please, Sign In to add comment