-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
42 lines (42 loc) · 858 Bytes
/
.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
[user]
name = Sam Vente
email = [email protected]
[include]
path = ~/.gitconfig.signingkey
[pull]
rebase = true
default = current
[core]
excludesfile = ~/.gitignore
pager = delta
editor = hx
[init]
defaultBranch = main
[commit]
gpgsign = true
[push]
autoSetupRemote = true
default = current
[pull]
autoSetupRemote = true
default = current
[pager]
branch = false
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
light = false
side-by-side = true
line-numbers = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[gpg]
format = ssh
[alias]
up = "!git remote update -p; git merge --ff-only @{u}"
unwip = reset HEAD^
wip = "!f(){ git add -A && git checkout -b wip-$( date +\"%Y%m%d%H%m\") && git commit -m \"[no ci] WIP\" --no-verify && git push;};f"
patch = !git --no-pager diff --no-color