Skip to content

Instantly share code, notes, and snippets.

@inky
Created December 3, 2009 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save inky/248096 to your computer and use it in GitHub Desktop.
Save inky/248096 to your computer and use it in GitHub Desktop.
# Discard local changes
git checkout -f (git co -f)
hg revert --all [--no-backup] (hg rev -a) # thanks sjl!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment