Last active
February 24, 2020 15:38
-
-
Save gcollic/6507901 to your computer and use it in GitHub Desktop.
Pretty log for comparison between head and origin
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
[alias] | |
#lg = log --oneline --decorate --graph | |
lg = log --graph --format=format:'%C(yellow)%h%C(reset) %C(white)%s%C(reset)%C(auto)%d%C(reset)%C(dim white) %C(reset)%C(dim cyan)%ar%C(reset)%C(dim white) %aN <%aE>%C(reset)' | |
lga = !git lg --all | |
lgo = !git lg HEAD origin/master --not `git merge-base HEAD origin/master`^@ | |
lgd = !git lg HEAD origin/develop --not `git merge-base HEAD origin/develop`^@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment