Skip to content

Instantly share code, notes, and snippets.

@chriskite
Created April 9, 2010 15:45
Show Gist options
  • Save chriskite/361296 to your computer and use it in GitHub Desktop.
Save chriskite/361296 to your computer and use it in GitHub Desktop.
Git Customization
PS1='\u@\h:\w\[\033[32m\]$(__git_ps1)\[\033[0m\]$ '
[user]
email = user@domain.com
name = First Last
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = red
[core]
pager = less -FRSX
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
ci = commit
co = checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment