-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
32 lines (31 loc) · 1.01 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
# NOTE: the trailing forward slash is crucial
[includeIf "gitdir:~/git/work/"]
path = ~/.gitconfig-work
[includeIf "gitdir:~/git/personal/github/"]
path = ~/.gitconfig-personal-github
[includeIf "gitdir:~/git/personal/gitlab/"]
path = ~/.gitconfig-personal-gitlab
# in case the https url is used in a git clone
[url "git@github.com:"]
insteadOf = https://github.com/
# Use the gpg program to sign commits
[gpg]
program = gpg
# always sign commits with gpg
[commit]
gpgsign = true
verbose = true
# always sign off
[format]
signoff = true
[core]
excludesfile = ~/.gitignore_global
# pager = delta --plus-color="#012800" --minus-color="#340001" --theme='Monokai Extended'
# [interactive]
# diffFilter = delta --color-only
#[mergetool "sourcetree"]
# cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
# trustExitCode = true
#[difftool "sourcetree"]
# cmd = opendiff \"$LOCAL\" \"$REMOTE\"
# path =