Created
August 2, 2012 12:34
-
-
Save mhoyer/3236735 to your computer and use it in GitHub Desktop.
Git log aliases
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 gl="git log --graph --all --format=format:'%C(bold blue)%h %C(bold green)(%cr) %C(bold white)%cn: %C(bold yellow)%d%C(reset) %C(white)%s%C(reset)' --abbrev-commit --date=relative && echo '\033[2A'" | |
alias gll="git log --graph --all --format=format:'%C(bold blue)%h %C(bold green)(%cr) %C(bold cyan)%cD %C(bold yellow)%d%n'' %C(bold white)%cn:%C(reset) %C(white)%s%C(reset)' --abbrev-commit && echo '\033[2A'" |
AlexZeitler
commented
Aug 2, 2012
Tried your sample, but still have single lines. :-|
Okay. It has to be upper cased %B instead of %b. But then also the single line commit messages are printed over two lines.
for me %b works fine #worksonmymachine ;-)
Did you commit multilines?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment