Last Updated: February 25, 2016
·
512
· danielribeiro

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'