Skip to content

Instantly share code, notes, and snippets.

@burnto
Created October 20, 2011 01:32
Show Gist options
  • Save burnto/1300190 to your computer and use it in GitHub Desktop.
Save burnto/1300190 to your computer and use it in GitHub Desktop.
sample gitconfig
Here is my ~/.gitconfig, for anyone interested in color, etc. :)
[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
[color]
ui = true
[core]
whitespace=nowarn
excludesfile = /Users/brent/.gitignore
autocrlf = input
editor = /usr/local/bin/mate -w
[user]
name = YOUR NAME HERE
email = [email protected]
[alias]
unstage = reset HEAD
pretty-log-color = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --no-merges
pretty-log = log --pretty=format:'%h -%d %s (%cr) <%an>' --abbrev-commit --date=relative --no-merges
[branch]
autosetupmerge = always
[github]
user = burnto
token = 6c73f824e0d9f1cd05ab46de723d1429
[gist]
browse = yes
private = no
[pygithooks]
pep8-ignore = E501,E261,E302
pep8-exclude = .*/migrations/.*
@burnto
Copy link
Author

burnto commented Oct 21, 2011

thanks to @josharian for pointing out i left my token in here. password and token now changed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment