Skip to content

Instantly share code, notes, and snippets.

@codegoalie
Forked from cmarshall/Git Configs
Created November 17, 2009 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codegoalie/236632 to your computer and use it in GitHub Desktop.
Save codegoalie/236632 to your computer and use it in GitHub Desktop.
Standard Git Config
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[branch "master"]
remote = origin
merge = refs/heads/master
[gui]
geometry = 1135x731+44+44 201 168
[alias]
slog = log --oneline
flog = log --name-only --relative-date --abbrev-commit
clog = log --format=format:"%Cgreen%h%Creset-%C(yellow)%s%Creset%n%b"
resetdb = checkout -f resources/db_modules.php
acom = commit -a
rmfiles = add -u
co = checkout
nb = checkout -b
[push]
default = matching
[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