4 ms·
By far my most used git command is this alias for a much more condensed, prettified log: git config --global alias.lg "log --color --graph --pretty=format:'%Cr
by eyegor 7y ago
By far my most used git command is this alias for a much more condensed, prettified log:
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
From https://coderwall.com/p/euwpig/a-better-git-log https://coderwall.com/p/euwpig/a-better-git-log
- kubanczyk 7y agoIt doesn't show which commits have two parents. Which is usually useful for a `git revert`.