-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgitconfig
110 lines (90 loc) · 2.36 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
[alias]
co = checkout
unstage = reset HEAD
lg = log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %C(bold)%s %Creset%C(white)%an%Creset %C(green)%cr' --abbrev-commit --date=relative
undo = reset --soft HEAD^
count = shortlog -sn
delete-branch = "!f(){ test ${1} && git branch -d ${1} && git push origin --delete ${1}; };f"
cp = cherry-pick
latest = for-each-ref --sort=-committerdate --format='%(committerdate:iso8601)%09%(objectname:short) %(refname:short) | %(authorname)'
pr = "!f() { [ -z $2 ] && echo usage: git pr REMOTE PR-ID && return 1; git fetch $1 refs/pull/$2/head:pr-${2} && git checkout pr-${2}; } ; f"
mr = "!gl_checkout_mr"
mrp = "!gl_checkout_mr_patch"
amend = commit --amend
forgot = commit --amend --no-edit
[color]
branch = auto
diff = auto
status = auto
grep = auto
[github]
user = splattael
[core]
excludesfile = ~/.gitexcludes
autocrlf = input
# whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[giggle]
main-window-maximized = true
main-window-geometry = 0x0+0+0
main-window-view = HistoryView
history-view-vpane-position = 412
file-view-vpane-position = 458
[rerere]
enabled = true
[branch]
autosetuprebase = always
sort = -committerdate
[rebase]
autosquash = true
autostash = true
[push]
default = simple
[url "https://github.com/"]
insteadOf = gh:
[url "[email protected]:"]
insteadOf = wgh:
[url "https://gitlab.com/"]
insteadOf = gl:
[url "[email protected]:"]
insteadOf = wgl:
[url "https://dev.gitlab.org/"]
insteadOf = gl-dev:
[url "[email protected]:"]
insteadOf = wgl-dev:
[url "[email protected]:"]
insteadOf = z:
[user]
name = Peter Leitzen
email = [email protected]
signingkey = 8845C8FAF99B78B447627DBF97DE9D2E708A225E
[diff "image"]
command = git-imgdiff
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = true
[protocol]
version = 2
[pull]
rebase = true
[advice]
detachedHead = false
[checkout]
defaultRemote = origin
[includeIf "gitdir:~/devel/gitlab/"]
path = ~/.git/custom_config/gitlab
[credential]
helper = cache --timeout=3600
username = splattael
[merge]
conflictstyle = diff3
[init]
defaultBranch = main
[format]
signOff = true
[maintenance]
repo = /home/peter/devel/gitlab/gdk
repo = /home/peter/devel/gitlab/gdk/gitlab