Skip to content

Instantly share code, notes, and snippets.

@rkennesson
Forked from sanguis/.gitconfig
Last active August 29, 2015 14:24
Show Gist options
  • Save rkennesson/9f0240b1f30656a7d7bc to your computer and use it in GitHub Desktop.
Save rkennesson/9f0240b1f30656a7d7bc to your computer and use it in GitHub Desktop.
[color]
ui = on
[core]
whitespace= fix,-indent-with-non-tab,-indent-with-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore
[alias]
df = !git diff --no-prefix && git diff --staged --no-prefix
clear = reset --hard
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
co = checkout
con = checkout -b
ci = commit -a
cim = commit -am
br = branch
ls = branch -a
[mergetool]
keepBackup = FALSE
[push]
default = upstream
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment