Created
April 19, 2012 06:07
-
-
Save Kimtaro/2419024 to your computer and use it in GitHub Desktop.
Nifty git commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all branches in order of last commit time | |
git for-each-ref --sort=-committerdate refs/heads/ | |
# List all commits that changed test/test_helper.rb | |
git log -p --all test/test_helper.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment