Skip to content

Instantly share code, notes, and snippets.

@endtwist
Created November 4, 2011 20:05
Show Gist options
  • Save endtwist/1340343 to your computer and use it in GitHub Desktop.
Save endtwist/1340343 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name =
email =
[core]
editor = /usr/bin/nano
excludesfile = /Users/username/.gitignore
[merge]
conflictstyle = diff3
[color]
branch = auto
diff = auto
status = 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
[push]
default = upstream
[alias]
aa = add --all
ci = commit
cv = commit -v
cav = commit -a -v
ca = commit -a
co = checkout
cb = checkout -b
br = branch
prb = pull --rebase
unch = update-index --assume-unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment