-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
97 lines (81 loc) · 3.24 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[core]
excludesfile = /home/gwatts/.gitignore_global
# autocrlf = true
editor = code --wait
#editor = code-insiders --wait
[push]
autoSetupRemote = true
[helper]
credential = store
[init]
defaultBranch = main
[color]
ui = true
[commit]
template = /home/gwatts/.gitmessage.txt
[pull]
rebase = false
[diff]
tool = code
[merge]
tool = code
[difftool "code"]
cmd = code --wait --diff $LOCAL $REMOTE
#cmd = code-insiders --wait --diff $LOCAL $REMOTE
path =
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "code"]
cmd = code --wait $MERGED
#cmd = code-insiders --wait $MERGED
trustExitCode = true
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
; Includes for Linux
;[includeIf "gitdir:/home/gwatts/Development/AL/AWS/"]
; path = /home/gwatts/Development/AL/AWS/.gitconfig-aws
[includeIf "gitdir:/home/gwatts/Development/AL/AWS/NetReveal/"]
path = /home/gwatts/Development/AL/AWS/NetReveal/.gitconfig-aws-nr
[includeIf "gitdir:/home/gwatts/Development/AL/Bitbucket/"]
path = /home/gwatts/Development/AL/Bitbucket/.gitconfig-bitbucket
[includeIf "gitdir:/home/gwatts/Development/Personal/AzureDevOps/"]
path = /home/gwatts/Development/Personal/AzureDevOps/.gitconfig-azure
[includeIf "gitdir:/home/gwatts/Development/Personal/GitHub/"]
path = /home/gwatts/Development/Personal/GitHub/.gitconfig-github
[includeIf "gitdir:/home/gwatts/Development/Personal/GitLab/"]
path = /home/gwatts/Development/Personal/GitLab/.gitconfig-gitlab
; Includes for Windows
[includeIf "gitdir:C:/Users/gwatts/Development/AL/AWS/"]
path = C:/Users/gwatts/Development/AL/AWS/.gitconfig-aws
[includeIf "gitdir:C:/Users/gwatts/Development/AL/Bitbucket/"]
path = C:/Users/gwatts/Development/AL/Bitbucket/.gitconfig-bitbucket
[includeIf "gitdir:C:/Users/gwatts/Development/Personal/AzureDevOps/"]
path = C:/Users/gwatts/Development/Personal/AzureDevOps/.gitconfig-azure
[includeIf "gitdir:C:/Users/gwatts/Development/Personal/GitHub/"]
path = C:/Users/gwatts/Development/Personal/GitHub/.gitconfig-github
[includeIf "gitdir:C:/Users/gwatts/Development/Personal/GitLab/"]
path = C:/Users/gwatts/Development/Personal/GitLab/.gitconfig-gitlab
; Includes for Apple
[includeIf "gitdir:/Users/gwatts/Development/AL/AWS/"]
path = /Users/gwatts/Development/AL/AWS/.gitconfig-aws
[includeIf "gitdir:/Users/gwatts/Development/AL/Bitbucket/"]
path = /Users/gwatts/Development/AL/Bitbucket/.gitconfig-bitbucket
[includeIf "gitdir:/Users/gwatts/Development/Personal/AzureDevOps/"]
path = /Users/gwatts/Development/Personal/AzureDevOps/.gitconfig-azure
[includeIf "gitdir:/Users/gwatts/Development/Personal/GitHub/"]
path = /Users/gwatts/Development/Personal/GitHub/.gitconfig-github
[includeIf "gitdir:/Users/gwatts/Development/Personal/GitLab/"]
path = /Users/gwatts/Development/Personal/GitLab/.gitconfig-gitlab
[credential "https://github.com"]
helper =
helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/usr/bin/gh auth git-credential