-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
45 lines (45 loc) · 1.25 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
[user]
name = Tim Nolte
email = [email protected]
signingkey = C81E56726FF7F8FC
[push]
default = simple
followTags = false
[core]
excludesfile = ~/.cvsignore
[color]
ui = true
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[diff]
tool = vimdiff
[difftool]
prompt = false
[alias]
bugfix = "!bfb() { git co-m; git pull; git co-b fix/$1; git push-u; }; bfb"
cl = clone
ci = commit
co = checkout
co-b = checkout -b
co-d = checkout develop
co-i = checkout integration
co-l = checkout live
co-m = checkout main
feature = "!fb() { git co-m; git pull; git co-b feature/$1; git push-u; }; fb"
hotfix = "!hfb() { git co-m; git pull; git co-b hotfix/$1; git push-u; }; hfb"
pull-p = pull --prune
pull-r = pull --single-branch --rebase=preserve
push-u = !git push -u origin $(git symbolic-ref --short HEAD)
push-t = push --tags
release = "!rb() { git co-m; git pull; git co-b release/$1; }; rb"
st = status
tag-rel = "!tr() { git co-m; git pull; git tag release-$(date +%Y%m%d); git push-t; }; tr"
tag-rel-l = "!trl() { git co-l; git pull; git tag release-$(date +%Y%m%d); git push-t; }; trl"
[commit]
gpgsign = true
[gpg]
program = gpg2