You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.1 KiB
Plaintext

[include]
path = .gitconfig.user
[core]
excludesfile = ~/.gitignore
editor = mvim -f
autocrlf = input
eol = lf
pager = less -FXRS -x2
[color]
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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status
cm = commit
co = checkout
br = branch -a
ps = push
pl = pull
12 years ago
mg = merge
unst = reset HEAD
hub = push origin master
fac = push origin refac
subup = submodule foreach git pull
rs = reset master --hard
hist = log --pretty=format:\"%h | %ad | %an | %s%d \" --graph --date=local
lo = log --graph --decorate --pretty=oneline --abbrev-commit --all
type = cat-file -t
dump = cat-file -p
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true