Viewing Git logs
# Add to your .gitconfig under [alias]
# kinda like https://github.com/danielribeiro/dotfiles/blob/master/.gitconfig
# simple log
alias.l log --decorate
# log with detailed commits
alias.ll log -p --decorate
# log with the changed files
alias.ls log --stat --decorate
# log with just the merge graph in ascii
alias.lg log --oneline --graph --decorate
# my changes
alias.lmy log --author='Daniel Ribeiro'
Written by Daniel Ribeiro
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Log
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#