Skip to content

Instantly share code, notes, and snippets.

@wgx731
Last active February 27, 2017 02:05
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 wgx731/99379cbbc5962fefe91a to your computer and use it in GitHub Desktop.
Save wgx731/99379cbbc5962fefe91a to your computer and use it in GitHub Desktop.
My git config
[user]
name = wgx731
email = wgx731@gmail.com
signingkey = 1E238BF264F01CB0
[core]
quotepath = false
editor = vim
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[commit]
gpgsign = true
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[color]
ui = true
ui = 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
[color "diff"]
whitespace = red reverse
[alias]
st = status
rb = rebase
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment