-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
98 lines (98 loc) · 2.77 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
98
[init]
defaultBranch = main
templatedir = ~/.git_template
[user]
name = Eebs Kobeissi
email = [email protected]
signingkey = "746808E2F494D120"
[push]
default = current
[pull]
ff = only
[color]
ui = auto
[alias]
aa = add --all
ap = add --patch
ca = commit --amend
ce = commit --allow-empty
cf = commit --fixup
ci = commit -v
cm = commit -m
cne = commit --amend --no-edit
co = checkout
cp = commit -p -v
cpr = !git close-pull-request
dic = diff --cached
lbs = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/heads
new = !git init && git symbolic-ref HEAD refs/heads/main
npr = !git push -u && hub pull-request
pf = push --force-with-lease
ps = push
psu = push -u
ra = rebase --abort
rbs = for-each-ref --sort=-committerdate --format=\"%(color:blue)%(authordate:relative)\t%(color:red)%(authorname)\t%(color:white)%(color:bold)%(refname:short)\" refs/remotes
rc = rebase --continue
rs = rebase --skip
s = switch
sc = switch -c
sh = shalector
sl = log --oneline -20
sla = log --oneline --graph --all -20
slap = log --oneline --graph --all
sp = stash pop
st = status
su = stash -u
up = !git fetch origin && git rebase origin/master
upd = !git fetch origin && git rebase origin/develop
wip = !git add -A && git commit -m "wip"
[core]
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
autocrlf = input
pager = "diff-so-fancy | less --tabs=4 -RFX"
[merge]
ff = only
[commit]
gpgsign = false
template = ~/.gitmessage
[fetch]
prune = true
[rebase]
autosquash = true
[include]
path = ~/.gitconfig.local
[diff]
colorMoved = zebra
[color "diff-highlight"]
oldNormal = "red bold"
oldHighlight = "red bold 52"
newNormal = "green bold"
newHighlight = "green bold 22"
[color "diff"]
meta = "11"
frag = "magenta bold"
commit = "yellow bold"
old = "red bold"
new = "green bold"
whitespace = "red reverse"
[gpg]
program = gpg2
[gitsh]
defaultcommand = status -sb
nogreeting = true
prompt = "\n%D %c(%b%#)%w →"
[secrets]
providers = git secrets --aws-provider
patterns = (A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}
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
[advice]
detachedHead = false
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f