Skip to content

Instantly share code, notes, and snippets.

@jabranr
Last active September 19, 2018 13:35
Show Gist options
  • Save jabranr/504922fe20fe0ff2bafa to your computer and use it in GitHub Desktop.
Save jabranr/504922fe20fe0ff2bafa to your computer and use it in GitHub Desktop.
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