Skip to content

Instantly share code, notes, and snippets.

@rasschaert
Last active September 29, 2015 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rasschaert/1605706 to your computer and use it in GitHub Desktop.
Save rasschaert/1605706 to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
name = Kenny Rasschaert
email = kenny@inuits.eu
[core]
editor = vi
autocrlf = input
safecrlf = true
pager = less -F -X
[color]
branch = auto
diff = auto
status = auto
interactive = auto
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all
st = status
br = branch
co = checkout
ci = commit
df = diff
cl = clone
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment