-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
84 lines (84 loc) · 1.85 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[user]
# you probably want to change this bit
name = Lukas Drbal
email = [email protected]
signingkey = 45DD8AFFD900F361
[include]
path = ~/.gitconfig.local
[alias]
cl = log --graph --pretty=format:'%h%d %s (%an)'
ci = commit -S
st = status
a = add
s = status -sb
c = checkout --
f = fetch --prune
p = pull --rebase
br = branch
bra = branch --all
co = checkout
cp = cherry-pick
df = diff
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --date=relative
ll = log --first-parent --pretty=format:'%h %s'
lo = log --oneline
authors = log --pretty=format:'%an <%ae>'
browse = instaweb -d webrick -p 8888
nt = ls-files -o --exclude-standard
ign = ls-files -o -i --exclude-standard
tags = tag -l
gerritMasterPush = push origin HEAD:refs/for/master
# Typos ...
dif = diff
di = diff
d = diff
dff = diff
cleanup = "!git branch --merged | grep -v '\\*\\|master\\|develop' | xargs -n 1 git branch -d"
ls-subtrees = !"git log | grep git-subtree-dir | awk '{ print $2 }'"
[branch.master]
mergeoptions = log
[color]
grep = auto
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
[difftool]
prompt = false
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[push]
default = current
[help]
autocorrect = 1
[commit]
gpgsign = true
[gpg]
program = gpg
[core]
autocrlf = false
ignorecase = false
excludesfile = ~/.gitignore_global
hooksPath = /usr/local/gitconfig/hooks/
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[credential]
helper = osxkeychain
[url "[email protected]:"]
insteadOf = https://github.com/