Skip to content

Instantly share code, notes, and snippets.

@joecannatti
Created June 7, 2011 00:08
Show Gist options
  • Save joecannatti/1011403 to your computer and use it in GitHub Desktop.
Save joecannatti/1011403 to your computer and use it in GitHub Desktop.
Undo deletes
git status | awk '/deleted/ {print $3}' | xargs git checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment