Skip to content

Instantly share code, notes, and snippets.

@erols
Created December 20, 2017 12:08
Show Gist options
  • Select an option

  • Save erols/f7ba250d084de555a49c9e0982dca3e5 to your computer and use it in GitHub Desktop.

Select an option

Save erols/f7ba250d084de555a49c9e0982dca3e5 to your computer and use it in GitHub Desktop.
checkout list of files inadvertently changed
git status | grep modified: | cut -c 12- | xargs git checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment