-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
137 lines (117 loc) · 2.66 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[advice]
detachedhead = false
[alias]
ai = add --interactive
ap = add --patch
b = branch
c = commit
ca = commit --all
cas = commit --all --gpg-sign --signoff
co = checkout
cob = checkout -b
cp = cherry-pick
cpa = cherry-pick --abort
cpc = cherry-pick --continue
cs = commit --gpg-sign --signoff
cu = !git branch --merged | grep -v '\\*' | grep -v master | xargs -n 1 git branch -d
currentbranch = rev-parse --abbrev-ref HEAD
d = diff
dc = diff --cached
dh = diff HEAD~ HEAD
dp = diff --patch --patience
ds = diff --staged
em = config --global user.email
eml = config user.email
f = fetch --tags --prune
fa = fetch --all --tags --prune
fr = fetch --tags --prune --recurse-submodules
k = !gitk
ka = !gitk --all
l = log
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
logn = !git lg | head -n
lp = log --patch
m = merge --no-ff
ma = merge --abort
master = checkout master
main = checkout main
mend = commit --amend
mt = mergetool
nm = config --global user.name
nml = config user.name
patch = !git --no-pager diff --no-color
pf = push --force-with-lease
pl = pull
ps = push
pso = push origin :
r = remote
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbi = rebase --interactive
rbm = rebase --onto=master
rbo = rebase --onto
rbom = rebase --onto=master master
rbs = rebase --skip
reha = reset --hard
rh = reset --hard
rs = reset --soft
rt = reset
rv = remote --verbose
s = show
sb = show-branch
sh = stash
shp = stash show -p
sm = submodule
st = status
t = !tig
ta = !tig --all
ui = gui
[color]
ui = auto
[core]
editor = vim
excludesfile = ~/.gitexcludes
pager = delta
[credential]
helper = /usr/lib/git-core/git-credential-libsecret
[delta]
navigate = true
[diff]
colorMoved = default
[grep]
linenumber = true
[gui]
spellingdictionary = none
tabsize = 4
[init]
defaultBranch = main
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
keepbackup = false
[mergetool]
keepbackup = false
[pack]
depth = 250
threads = 2
window = 250
windowmemory = 1073741824
[pull]
ff = only
[push]
default = simple
[rebase]
autosquash = true
stat = true
[rerere]
autoupdate = true
enable = true
[status]
submoduleSummary = true
[user]
email = [email protected]
name = Benedikt Geißler
[include]
path = ~/.gitconfig_local