Skip to content

Instantly share code, notes, and snippets.

View mikedg1's full-sized avatar
๐Ÿ˜ƒ

Mike DiGiovanni mikedg1

๐Ÿ˜ƒ
View GitHub Profile
# a few git commands
alias gs='git status'
alias gp='git push'
alias gl='git log --graph --pretty=tformat:"%C(auto)%h%Creset - %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %C(auto)%d%Creset" --abbrev-commit'
alias cdiff='cdiff -s -c always | less -rFX'
# recent log entries without a pager
alias glr='git --no-pager log -25 --graph --pretty=tformat:"%C(auto)%h%Creset - %s %Cgreen(%cr) %C(bold blue)<%an>%Creset %C(auto)%d%Creset" --abbrev-commit'
alias gs='git status -s'