Skip to content

Instantly share code, notes, and snippets.

@jabranr jabranr/.gitconfig-default
Last active Sep 19, 2018

Embed
What would you like to do?
Default .gitconfig settings
[user]
name = Jabran Rafique
email = hello@jabran.me
[color]
ui = true
diff = auto
status = auto
branch = auto
[core]
editor = vim
excludesfile = ~/.gitignore_global
[alias]
stats = shortlog -sn
st = status
ci = commit -am
co = checkout
psh = push origin HEAD
pp = pull origin HEAD
fe = fetch
grm = rm $(git ls-files --deleted)
log1 = log --oneline
[push]
default = current
[color "diff"]
meta = yellow
old = red
new = green
[color "status"]
added = green
changed = yellow
untracked = red
[apply]
whitespace = nowarn
[web]
browser = open
[help]
autocorrect = -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.