Skip to content

Instantly share code, notes, and snippets.

@dexteryy
Created June 16, 2016 10:15
Show Gist options
  • Save dexteryy/5d279e430f393244a5befe86e2db70f4 to your computer and use it in GitHub Desktop.
Save dexteryy/5d279e430f393244a5befe86e2db70f4 to your computer and use it in GitHub Desktop.
[alias]
ci = commit
co = checkout
br = branch
st = status
re = reset
rv = revert
go = checkout -b
l = log HEAD --stat --graph --name-status --pretty=format:'----------------------------%n%C(yellow)%h%C(white)%d %C(blue)%an, %Creset%ar%n%n%Cgreen%s%n'
reci = commit --amend
unadd = reset HEAD
sm = merge --squash
subpull = submodule foreach git pull origin master
[color]
diff = auto
interactive = auto
status = auto
branch = auto
[push]
default = matching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment