Skip to content

Instantly share code, notes, and snippets.

@toriaezunama
Created June 7, 2012 02:18
Show Gist options
  • Save toriaezunama/2886118 to your computer and use it in GitHub Desktop.
Save toriaezunama/2886118 to your computer and use it in GitHub Desktop.
#git
#### View the change history of a file ####
gitk [filename]
#### How to grep in the git history ####
git grep <regexp> $(git rev-list --all)
#### Changing the message on the last commit
git commit --amend -m "New message"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment