-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
47 lines (46 loc) · 1.06 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
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset %Cblue(%aN)%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
chp = cherry-pick
st = status
co = checkout
merge = merge --no-ff
ci = commit
cm = commit
p = push
pf = push --force-with-lease
fp = push --force-with-lease
su = submodule update --recursive --init
# https://stackoverflow.com/a/7149602/421705
addnw = !sh -c 'git diff -U0 -w --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero' -
[branch]
autosetupmerge = true
autosetuprebase = always
[core]
autocrlf = false
excludesfile = ~/.gitignore_global
[color]
branch = auto
diff = auto
grep = auto
interactive = auto
ui = auto
[github]
user = meineerde
[fetch]
fsckobjects = true
[http]
postBuffer = 524288000
[init]
defaultBranch = main
[push]
autoSetupRemote = true
default = upstream
recurseSubmodules = check
[receive]
fsckobjects = true
[transfer]
fsckobjects = true
[include]
path = ~/.gitconfig_holgerjust.de
[includeIf "gitdir:~/workspace/planio/"]
path = ~/.gitconfig_plan.io