Skip to content

Instantly share code, notes, and snippets.

@mrpotatoes
Created November 2, 2020 15:17
Show Gist options
  • Save mrpotatoes/baa5960d13bff84d3e5600727f3aff25 to your computer and use it in GitHub Desktop.
Save mrpotatoes/baa5960d13bff84d3e5600727f3aff25 to your computer and use it in GitHub Desktop.
Common git stuff I always forget about with git
# Revert to an old commit
git revert --no-commit 0766c053..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment