2012-05-28 15:16:38 +00:00
|
|
|
[include]
|
2012-09-11 17:08:35 +00:00
|
|
|
path = ~/.gitconfig.user
|
2012-05-28 15:16:38 +00:00
|
|
|
|
|
|
|
[core]
|
|
|
|
excludesfile = ~/.gitignore
|
2012-11-13 18:28:59 +00:00
|
|
|
editor = vim
|
2012-05-28 15:16:38 +00:00
|
|
|
autocrlf = input
|
|
|
|
eol = lf
|
2012-05-31 18:57:42 +00:00
|
|
|
pager = less -FXRS -x2
|
2012-05-28 15:16:38 +00:00
|
|
|
|
|
|
|
[color]
|
|
|
|
ui = auto
|
|
|
|
[color "branch"]
|
2012-09-11 18:08:40 +00:00
|
|
|
current = yellow reverse
|
2012-05-28 15:16:38 +00:00
|
|
|
local = yellow
|
|
|
|
remote = green
|
|
|
|
[color "diff"]
|
2012-09-11 18:08:40 +00:00
|
|
|
meta = yellow bold
|
|
|
|
frag = magenta bold
|
2012-05-28 15:16:38 +00:00
|
|
|
old = red bold
|
|
|
|
new = green bold
|
|
|
|
whitespace = red reverse
|
2012-09-11 18:08:40 +00:00
|
|
|
[color "status"]
|
|
|
|
added = yellow
|
|
|
|
changed = green
|
2012-05-28 15:16:38 +00:00
|
|
|
untracked = cyan
|
|
|
|
|
|
|
|
[alias]
|
|
|
|
st = status
|
|
|
|
cm = commit
|
|
|
|
co = checkout
|
2012-07-10 17:00:11 +00:00
|
|
|
br = branch -a
|
2012-05-28 15:16:38 +00:00
|
|
|
ps = push
|
|
|
|
pl = pull
|
2012-05-30 18:34:12 +00:00
|
|
|
mg = merge
|
2012-07-23 20:44:19 +00:00
|
|
|
unst = reset HEAD
|
2012-05-28 15:16:38 +00:00
|
|
|
hub = push origin master
|
2012-08-06 21:07:34 +00:00
|
|
|
fac = push origin refac
|
2012-05-28 15:44:29 +00:00
|
|
|
subup = submodule foreach git pull
|
2012-09-14 16:20:22 +00:00
|
|
|
rs = reset HEAD --hard
|
2012-09-05 13:32:17 +00:00
|
|
|
hist = log --pretty=format:\"%h | %ad | %an | %s%d \" --graph --date=local
|
2012-05-28 15:16:38 +00:00
|
|
|
lo = log --graph --decorate --pretty=oneline --abbrev-commit --all
|
2012-10-09 17:11:42 +00:00
|
|
|
pu = !"git fetch origin -v; git fetch upstream -v; git merge upstream/master"
|
2012-05-28 15:16:38 +00:00
|
|
|
type = cat-file -t
|
|
|
|
dump = cat-file -p
|
2012-09-18 12:09:25 +00:00
|
|
|
|
|
|
|
[diff]
|
|
|
|
tool = vimdiff
|
2012-11-13 18:28:59 +00:00
|
|
|
guitool = vimdiff
|
2012-09-18 12:09:25 +00:00
|
|
|
|
2012-09-20 12:18:56 +00:00
|
|
|
[mergetool]
|
2012-09-18 12:09:25 +00:00
|
|
|
prompt = false
|
2012-09-20 12:18:56 +00:00
|
|
|
keepBackup = false
|