Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
git stash --include-untracked
git pull
git stash pop
git ls-files --full-name -u | cut -f 2 | uniq | awk '{print "\""$0"\""}' | paste -s -d" " -
FILES=$(!!); eval git reset -- $FILES; eval git checkout -- $FILES
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.