Last active
December 11, 2015 12:43
-
-
Save bitIO/467d9ee95c7306900ee7 to your computer and use it in GitHub Desktop.
Git cheatsheet
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
# configure git log to show colored tree in one line with author and relative date | |
# refs: https://git-scm.com/docs/git-log | |
# http://git-scm.com/docs/pretty-formats | |
# http://willi.am/blog/2015/02/19/customize-your-git-log-format/ | |
git config --global --add alias.lol "log --graph --decorate --abbrev-commit --all --pretty=format:'%C(auto)%h%d%Creset %s %Cgreen%ad%Creset por %Cblue%cn%Creset' --date=relative" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment