49 lines
1.1 KiB
Text
49 lines
1.1 KiB
Text
[init]
|
|
templatedir = ~/.git_template
|
|
|
|
[alias]
|
|
a = add
|
|
aa = add --all
|
|
b = branch
|
|
ba = branch --all
|
|
bd = branch --delete
|
|
cm = commit --verbose
|
|
co = checkout
|
|
cob = checkout -b
|
|
d = diff
|
|
dc = diff --cached
|
|
dt = difftool
|
|
ff = merge --ff-only
|
|
l = log --graph --format='%C(auto)%h%Cred%d %Creset%s %Cblue(%ar)'
|
|
la = log --graph --format='%C(auto)%h%Cred%d %Creset%s %Cblue(%ar)' --all
|
|
ll = log --graph --decorate --stat
|
|
lla = log --graph --decorate --stat --all
|
|
pom = push origin master
|
|
s = status --short
|
|
ss = status
|
|
sub = submodule
|
|
|
|
[core]
|
|
excludesfile = ~/.gitignore_global
|
|
editor = vim
|
|
trustctime = false # http://www.git-tower.com/blog/make-git-rebase-safe-on-osx/
|
|
|
|
[push]
|
|
default = nothing
|
|
|
|
[color]
|
|
ui = auto
|
|
|
|
[color "diff"]
|
|
meta = blue
|
|
frag = bold magenta # violet in solarized
|
|
old = red
|
|
new = green
|
|
|
|
[color "status"]
|
|
added = green
|
|
changed = red
|
|
untracked = cyan
|
|
|
|
[include]
|
|
path = ~/.gitconfig.local
|