Various and sundry tips for making git
and GitHub usage more pleasant with
optional rainbows and sunshine.
- Use the gist command line utility for working with gists.
- Use the hub command line utility to interact with GitHub with little need to visit the website in a browser.
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
or add to global git configuration as the alias git lg
:
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"