-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig.symlink
59 lines (45 loc) · 1.19 KB
/
gitconfig.symlink
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
[user]
name = Kiarash Kiani
email = [email protected]
signingkey = C35F9A24
[includeIf "gitdir:~/projects/datachef/"]
path = ~/.gitconfig.datachef
[includeIf "gitdir:~/projects/brenntag/"]
path = ~/.gitconfig.datachef
[core]
editor = "nvim"
excludesFile = ~/.dotfiles/gitignore
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
side-by-side = false
line-numbers = true
syntax-theme = gruvbox-dark
[color "branch"]
current = green
remote = yellow
[alias]
uncommit = reset --soft HEAD^
unstage = reset HEAD
discard = !git reset --hard HEAD && git clean -fd
amend = commit --amend --no-edit
pushall = !git remote | xargs -L1 git push --all
history = !fish -c 'gitlog'
browse = !git remote get-url origin | xargs open
[merge]
tool = nvim
[diff]
tool = nvimdiff
[push]
autoSetupRemote = true
[pull]
rebase = true
[rebase]
autoStash = true
[init]
defaultBranch = main
[commit]
gpgsign = true