Created
October 24, 2012 19:37
-
-
Save jhorman/3948314 to your computer and use it in GitHub Desktop.
git log find by content
This file contains hidden or 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
git config --global alias.find "!gf() { git log -G \"\$1\" --pretty=\"format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset\" --abbrev-commit --date=relative; }; gf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment