Skip to content

Instantly share code, notes, and snippets.

@joselo
Created May 9, 2011 22:26
Show Gist options
  • Save joselo/963558 to your computer and use it in GitHub Desktop.
Save joselo/963558 to your computer and use it in GitHub Desktop.
My .gitconfig file
[user]
name = Your Name
email = youremail@example.com
[alias]
ci = commit
co = checkout
st = status
br = branch
pl = pull
ps = push
last = log -1 HEAD
unstage = reset HEAD --
uncommit = reset --soft HEAD^
l = log --pretty=format:'%h %an %Cred%ar %Cgreen%s'
[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
[pager]
color = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment