Skip to content

Instantly share code, notes, and snippets.

@v9n
Created April 10, 2012 16:10
Show Gist options
  • Select an option

  • Save v9n/2352488 to your computer and use it in GitHub Desktop.

Select an option

Save v9n/2352488 to your computer and use it in GitHub Desktop.
use xargs to get back all manually removed files
"git ls-files -d | xargs git checkout --"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment