Skip to content

Instantly share code, notes, and snippets.

@oangeor
Last active August 29, 2015 14:17
Show Gist options
  • Save oangeor/aa8fdf611b5f1d60e868 to your computer and use it in GitHub Desktop.
Save oangeor/aa8fdf611b5f1d60e868 to your computer and use it in GitHub Desktop.
~/.gitconfig
[user]
name = chuncheng
email = hi@chuncheng.me
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
d = difftool
st = status
ci = commit
co = checkout
br = branch
unstage = reset HEAD --
last = log -1 HEAD
[diff]
tool = vimdiff
[difftool]
prompt = false
[push]
default = current
[merge]
tool = vimdiff
[color]
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment