Skip to content

Instantly share code, notes, and snippets.

@sajayantony
Created July 10, 2015 20:28
Show Gist options
  • Save sajayantony/2f0bad31d0e33561c7a4 to your computer and use it in GitHub Desktop.
Save sajayantony/2f0bad31d0e33561c7a4 to your computer and use it in GitHub Desktop.
Git-Commands
git log -n10 --pretty=format:"%h %s (%an)"
git revert HEAD~2..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment