Skip to content

Commit 7648020

Browse files
committed
Track .gitconfig
1 parent 4cbeb1b commit 7648020

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[user]
2+
3+
name = David Cook
4+
[core]
5+
editor = vim
6+
[color]
7+
ui = auto
8+
9+
[alias]
10+
isclean = !/home/pi/git-isclean/git-isclean
11+
12+
[diff "asciidiff"]
13+
textconv = ~/bin/img-ascii-diff
14+
15+
[diff "spaceman-diff"]
16+
command = /usr/local/bin/spaceman-diff
17+
18+
[push]
19+
default = simple
20+
[secrets]
21+
providers = git secrets --aws-provider
22+
patterns = [A-Z0-9]{20}
23+
patterns = (\"|')?(AWS|aws|Aws)?_?(SECRET|secret|Secret)?_?(ACCESS|access|Access)?_?(KEY|key|Key)(\"|')?\\s*(:|=>|=)\\s*(\"|')?[A-Za-z0-9/\\+=]{40}(\"|')?
24+
patterns = (\"|')?(AWS|aws|Aws)?_?(ACCOUNT|account|Account)_?(ID|id|Id)?(\"|')?\\s*(:|=>|=)\\s*(\"|')?[0-9]{4}\\-?[0-9]{4}\\-?[0-9]{4}(\"|')?
25+
allowed = AKIAIOSFODNN7EXAMPLE
26+
allowed = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

collect.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ cp ~/.bashrc .
3434
cp ~/.profile .
3535
cp /etc/gitweb.conf .
3636
cp ~/.ssh/config ssh_config
37+
cp ~/.gitconfig .

0 commit comments

Comments
 (0)