Skip to content

Instantly share code, notes, and snippets.

@danielshir
Created January 11, 2017 18:30
Show Gist options
  • Save danielshir/714bac2475d31716c5aa73aa00e5d2e8 to your computer and use it in GitHub Desktop.
Save danielshir/714bac2475d31716c5aa73aa00e5d2e8 to your computer and use it in GitHub Desktop.
Daniels test1 [master]$ git var -l | grep -e "^alias"
alias.lg=log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
alias.co=checkout
alias.st=status
alias.ci=commit
alias.df=!f() { git diff -C --color $1 | diff-so-fancy | less --tabs=1,5 -R; }; f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment