-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot.gitconfig.local
More file actions
22 lines (19 loc) · 825 Bytes
/
dot.gitconfig.local
File metadata and controls
22 lines (19 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[core]
attributesfile = $HOME/.gitattributes.local
excludesfile = $HOME/.gitignore.local
pager = lv -c
[init]
templatedir = ~/.git.templates
[pager]
grep = false
log = diff-highlight | less -S -i -F -X
show = diff-highlight | less -S -i -F -X
diff = diff-highlight | less -S -i -F -X
# https://github.com/awslabs/git-secrets/issues/32
#[secrets]
# providers = git secrets --aws-provider
# patterns = [A-Z0-9]{20}
# patterns = (\"|')?(AWS|aws|Aws)?_?(SECRET|secret|Secret)?_?(ACCESS|access|Access)?_?(KEY|key|Key)(\"|')?\\s*(:|=>|=)\\s*(\"|')?[A-Za-z0-9/\\+=]{40}(\"|')?
# patterns = (\"|')?(AWS|aws|Aws)?_?(ACCOUNT|account|Account)_?(ID|id|Id)?(\"|')?\\s*(:|=>|=)\\s*(\"|')?[0-9]{4}\\-?[0-9]{4}\\-?[0-9]{4}(\"|')?
# allowed = AKIAIOSFODNN7EXAMPLE
# allowed = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY