-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
57 lines (57 loc) · 1.44 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
### Put local configurations for user.{name,email,signingkey}, excludesfile,
### and credentials.helper into ~/.gitconfig.local
[color]
ui = true
[alias]
co = checkout
st = status
ci = commit
ca = commit -a
cam = commit -a -m
lol = log --notes --graph --oneline
remotes = remote -v show
last = log -1 HEAD -p
branches = branch -a
supdate = submodule update --remote --merge
spush = push --recurse-submodules=on-demand
sdiff = !git diff && git submodule foreach 'git diff'
type = cat-file -t
dump = cat-file -p
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
[push]
default = simple
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
[include]
path = ~/.gitconfig.local
[stash]
showPatch = true
[core]
excludesfile = ~/.gitglobalignore
[gpg]
program = gpg2
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[diff "sopsdiffer"]
textconv = sops -d
[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
[init]
defaultBranch = main