Skip to content

Instantly share code, notes, and snippets.

@jason-shen
Forked from EQuimper/.gitconfig
Last active March 16, 2018 14:21
Show Gist options
  • Save jason-shen/67d1eff877e47902a99dc055f485511c to your computer and use it in GitHub Desktop.
Save jason-shen/67d1eff877e47902a99dc055f485511c to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
name = jason-shen
email = jason_2000_nz@hotmail.com
[alias]
c = commit -m
i = init
s = status
graph = log --graph --oneline --decorate=short --branches='*'
br = branch
co = checkout
df = diff --color-words='[^[:space:]]'
sh = show --color-words='[^[:space:]]'
[core]
ignorecase = false
[color]
branch = auto
diff = auto
status = auto
showbranch = auto
ui = true
[color "status"]
added = yellow
changed = green
untracked = cyan
[format]
pretty = '%C(yellow)%h%Creset %C(magenta)%cd%Creset %d %s'
[branch]
autosetupmerge = always
autosetuprebase = always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment