Skip to content

Instantly share code, notes, and snippets.

@gaffneyc
Created April 21, 2011 14:35
Show Gist options
  • Save gaffneyc/934645 to your computer and use it in GitHub Desktop.
Save gaffneyc/934645 to your computer and use it in GitHub Desktop.
[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
[alias]
st = status
ci = commit
co = checkout
cp = cherry-pick
dif = diff
psuh = push
pul = pull
unpushed = rev-list HEAD --pretty ^origin/master
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
[merge]
tool = filemerge
[mergetool]
prompt = false
[repack]
usedeltabaseoffset = true
[core]
editor = vim
[apply]
whitespace = warn
[branch]
autosetupmerge = true
autosetuprebase = always
[push]
default = tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment