Skip to content

Instantly share code, notes, and snippets.

@RobinWu
Created August 26, 2009 06:11
Show Gist options
  • Save RobinWu/175347 to your computer and use it in GitHub Desktop.
Save RobinWu/175347 to your computer and use it in GitHub Desktop.
To show deleted files use the command:
git ls-files -d
To restore the deleted files use:
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