Skip to content

Instantly share code, notes, and snippets.

@migaber
Created February 10, 2019 09:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save migaber/8eeaff4e6bf59aba262507da0b968362 to your computer and use it in GitHub Desktop.
Save migaber/8eeaff4e6bf59aba262507da0b968362 to your computer and use it in GitHub Desktop.
copy and paste in your ~/.gitconfig file
[alias]
logg = log --decorate --oneline --graph --color-words
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all
st = status
co = checkout
br = branch
dif = diff --abbrev --color-words --word-diff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment