Last active
March 28, 2020 17:17
-
-
Save fovea1959/9a10acc9daf43664f080dcbe8822f3ed 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
| [alias] | |
| # https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs | |
| dog = log --all --decorate --oneline --graph | |
| lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
| lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
| lg = !"git lg1" | |
| orphank = !gitk --all --date-order ``git reflog | cut -c1-7``& |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment