Skip to content

Instantly share code, notes, and snippets.

@yuan3y
Created July 4, 2018 00:41
Show Gist options
  • Save yuan3y/91e7edcd19695d560a54bea75fd56b53 to your computer and use it in GitHub Desktop.
Save yuan3y/91e7edcd19695d560a54bea75fd56b53 to your computer and use it in GitHub Desktop.
git alias config I'm comfortable with
[alias]
co = checkout
com = checkout master
fo = fetch origin
fom = fetch origin master
ci = commit
st = status
br = branch
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment