Skip to content

Instantly share code, notes, and snippets.

@Fendo181
Created May 2, 2017 07:56
Show Gist options
  • Save Fendo181/76cc305dc0a0f9797e49a7d880a86ce4 to your computer and use it in GitHub Desktop.
Save Fendo181/76cc305dc0a0f9797e49a7d880a86ce4 to your computer and use it in GitHub Desktop.
alias.a=add
alias.cm=commit
alias.cma=commit --amend
alias.st=status
alias.ss=status -s
alias.sh=show
alias.fe=fetch
alias.me=merge
alias.p=push
alias.br=branch
alias.ch=checkout
alias.d=diff
alias.d1=diff HEAD~
alias.d2=diff HEAD~2
alias.d3=diff HEAD~3
alias.ta=log --graph --branches --pretty=format:'%C(yellow)%h%C(cyan)%d%Creset % s %C(green)- %an, %cr%Creset'
alias.ll=log --pretty=format:%C(yellow)%h%Cred%d\ %Creset%s%Cblue\ [%cn] --decor ate --numstat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment