Last active
June 27, 2019 09:48
-
-
Save caccavale/56f40f6e113e9c53f75a2db57b8ab69d to your computer and use it in GitHub Desktop.
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
diffbr () { git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative ${2:-'master'}..$1; } | |
diffc () { git diff $1~ $1; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment