Skip to content

Instantly share code, notes, and snippets.

@cipheos
Last active August 13, 2017 12:00
Show Gist options
  • Select an option

  • Save cipheos/63baeacf951535faebc6c092dcb948b3 to your computer and use it in GitHub Desktop.

Select an option

Save cipheos/63baeacf951535faebc6c092dcb948b3 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Samuel Willems
email = [email protected]
[alias]
st = status
ci = commit
co = checkout
di = diff
dc = diff --cached
amend = commit --amend
aa = add --all
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
fa = fetch --all
pom = push origin master
b = branch
ds = diff --stat=160,120
dh1 = diff HEAD~1
# Divergence (commits we added and commits remote added)
div = divergence
# Goodness (summary of diff lines added/removed/total)
gn = goodness
gnc = goodness --cached
# Logging
pl = log --pretty=format:\"%C(yellow)%h%Creset %C(green)%ar%Creset %C(bold blue)<%an>%Creset %C(bold red)%d%Creset %s\" --graph
spl = log --pretty=format:\"%C(yellow)%h%Creset %C(green)%ar%Creset %C(bold blue)<%an>%Creset %C(bold red)%d%Creset %s\" --graph -n30
[core]
editor = vim
autocrlf = false
eol = lf
[mergetool]
prompt = false
[push]
default = matching
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment