-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitconfig
95 lines (76 loc) · 2.36 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
[user]
name = YAKKUN Yasuyoshi IWAICHI
email = [email protected]
signingkey = F08828855CF85118
[alias]
co = "!f() { args=$@; if [ -z \"$args\" ]; then branch=$(git branch --all | grep -v HEAD | fzf --preview 'echo {} | cut -c 3- | xargs git log --color=always' | cut -c 3-); git checkout $(echo $branch | sed 's#remotes/[^/]*/##'); else git checkout $args; fi }; f"
ci = commit
st = status --short --branch
br = branch
branches = branch -a
tags = tag
log = log --stat
tree = log --graph --date=short --pretty='format:%C(yellow)%h%Creset %s %Cgreen(%an)%Creset %Cred%d%Creset'
delete-merged-branches = !git --no-pager branch --merged | grep -vE '^\\*| master$| trunk$| main$| release$| develop$' | xargs git branch -d
remotes = remote -v
stashes = stash list
aliases = !git config --get-regexp ^alias\\. | sed -e s/^alias\\.// -e s/\\ /\\:\\ /
[core]
editor = vim
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
commentchar = ";"
pager = diff-highlight | less
[color]
ui = auto
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
commit = green
meta = yellow
frag = cyan
old = red
new = green
whitespace = red reverse
[push]
default = current
[fetch]
prune = true
pruneTags = true
output = compact
[pull]
ff = only
[rebase]
autosquash = true
[commit]
verbose = true
gpgsign = true
[merge]
conflictStyle = zdiff3
[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}(\"|')?
patterns = (A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}
allowed = AKIAIOSFODNN7EXAMPLE
allowed = wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
[branch "master"]
rebase = true
[branch "trunk"]
rebase = true
[branch "main"]
rebase = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[gpg]
program = gpg
[init]
defaultBranch = main
[includeIf "gitdir:~/ghq/bitbucket.org/matoyan/**"]
path = ~/.gitconfig-yamareco