Skip to content

Instantly share code, notes, and snippets.

@boovius
Last active August 29, 2015 14:17
Show Gist options
  • Save boovius/6b52b3407d1f2e6688e4 to your computer and use it in GitHub Desktop.
Save boovius/6b52b3407d1f2e6688e4 to your computer and use it in GitHub Desktop.
[user]
name = [YOUR NAME]
email = [YOUR EMAIL - GITHUB]
[alias]
ci = commit
st = status --short --branch -u
di = diff
co = checkout
br = branch
b = branch
ba = branch -a
bd = branch -d
sta = stash
llog = log --date=local
flog = log --pretty=fuller --decorate
lol = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lg = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
blog = log origin/master... --left-right
ds = diff --staged
fixup = commit --fixup
squash = commit --squash
unstage = reset HEAD
rum = rebase master@{u}
mg = merge --no-ff --no-edit
info = show --stat
dc = diff --cached
amend = commit --amend --no-edit
wip = !git add . && git commit -m "wip"
rollback = reset HEAD~1
poh = push origin head
rpo = remote prune origin
mom = merge origin master
[core]
pager = less -FXRS -x2
excludesfile = /Users/pudge/.gitignore_global
editor = /usr/bin/vim
[apply]
whitespace = nowarn
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[branch]
autosetupmerge = true
[rebase]
autosquash = true
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment