Last active
March 4, 2017 11:38
-
-
Save albertoaflores/d300c523004fdc837f1226bb55e7402d to your computer and use it in GitHub Desktop.
Sample aliases in my gitconfig
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 --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
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 | |
#quick look at all repo | |
loggsa = log --color --date-order --graph --oneline --decorate --simplify-by-decoration --all | |
#quick look at active branch (or refs pointed) | |
loggs = log --color --date-order --graph --oneline --decorate --simplify-by-decoration | |
#extend look at all repo | |
logga = log --color --date-order --graph --oneline --decorate --all | |
#extend look at active branch | |
logg = log --color --date-order --graph --oneline --decorate | |
#Look with date | |
logda = log --color --date-order --date=local --graph --format=\"%C(auto)%h%Creset %C(blue bold)%ad%Creset %C(auto)%d%Creset %s\" --all | |
logd = log --color --date-order --date=local --graph --format=\"%C(auto)%h%Creset %C(blue bold)%ad%Creset %C(auto)%d%Creset %s\" | |
#Look with relative date | |
logdra = log --color --date-order --graph --format=\"%C(auto)%h%Creset %C(blue bold)%ar%Creset %C(auto)%d%Creset %s\" --all | |
logdr = log --color --date-order --graph --format=\"%C(auto)%h%Creset %C(blue bold)%ar%Creset %C(auto)%d%Creset %s\" | |
loga = log --graph --color --decorate --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment