Skip to content

Instantly share code, notes, and snippets.

@ponych
Created June 5, 2012 14:52
Show Gist options
  • Save ponych/2875474 to your computer and use it in GitHub Desktop.
Save ponych/2875474 to your computer and use it in GitHub Desktop.
cat ~/.gitconfig
# http://f2e.us/wiki/git-config.html#!/
[user]
name = yyfrankyy
email = [email protected]
[core]
excludesfile = /home/wenhe/.gitignore
quotepath = false
editor = vim
[alias]
co = checkout
ci = commit
br = branch
st = status
unstage = reset HEAD --
last = log -1 HEAD
mg = merge
glog = log --pretty=oneline --graph
df = difftool
[color]
ui = true
[format]
pretty = oneline
[diff]
tool = gvimdiff
[difftool]
prompt = false
[merge]
tool = gvimdiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment