-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
56 lines (55 loc) · 1.27 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
[user]
name = Shawn MacIntyre
email = shawn@selfstructured.com
# signingkey = 0152E321
[commit]
gpgsign = false
# gpgsign = true
[ui "color"]
ui = always
[color]
ui = true
[core]
excludesfile = ~/.gitignore_global
editor = nvim
pager = delta
autocrlf = input
safecrlf = true
[merge]
conflictstyle = diff3
[alias]
c = commit
s = status
st = status
last = log -1 HEAD
sl = stash list
lg = log --color --graph --pretty=format:'%Cred%h%Creset %C(magenta)%G?%Creset =>%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[push]
default = simple
[pull]
rebase = true
[help]
autocorrect = 1
[github]
user = smacintyre
[credential]
### For Ratchet and Github
### Run: git config --local credential.helper osxkeychain
# helper = osxkeychain
### For Selfstructured
### Run: git config --local credential.helper '!aws2 --profile [AWS_PROFILE] codecommit credential-helper $@'
### Run: git config --local credential.UseHttpPath true
# helper = !aws2 --profile devops-cert codecommit credential-helper $@
# UseHttpPath = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
[delta]
navigate = true
side-by-side = true
[diff]
colorMoved = default