Skip to content

Instantly share code, notes, and snippets.

@paulrayner
Created February 25, 2011 04:58
Show Gist options
  • Select an option

  • Save paulrayner/843378 to your computer and use it in GitHub Desktop.

Select an option

Save paulrayner/843378 to your computer and use it in GitHub Desktop.
Excerpt from .gitconfig
[alias]
co = checkout
br = branch
ci = commit
cia = commit -a
st = status
unstage = reset HEAD --
last = log -1 HEAD
d = diff --color
cb = checkout -b
log1 = log --pretty=oneline --abbrev-commit
logs = log --stat
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment