-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
34 lines (34 loc) · 808 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
#[init]
# templatedir = ~/.git_template
[core]
excludesfile = ~/.gitignore
[commit]
gpgsign = true
[push]
default = tracking
[user]
name = Stefan Lindbohm
email = [email protected]
signingkey = 55572B41
[alias]
up = pull --ff-only --prune
wipe = !git reset HEAD --hard && git clean -f
lg = log --pretty=compact
llog = !git lg `git rev-parse --abbrev-ref --symbolic-full-name @{upstream}`..
blog = lg main..
[color]
ui = true
[pretty]
compact = %C(auto)%h %ci %s (%C(red)%aN%Creset)
[log]
date = format:%a %Y-%m-%d %H:%M:%S %z
[difftool "nvimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[mergetool "nvimdiff"]
cmd = nvim -d $BASE $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[diff]
tool = nvimdiff
[merge]
tool = nvimdiff
[init]
defaultBranch = main