-
Notifications
You must be signed in to change notification settings - Fork 0
/
.homegitconfig
67 lines (67 loc) · 2.05 KB
/
.homegitconfig
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
[user]
name = 腹黒い茶
#signingkey = A4D44FC540963E24
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGpFn7A2xVgwonAj1Wg0nxdYr0u5KpoBN8E2PakVq9/D
[core]
excludesfile = \"$HOME\"/.gitignore_global
precomposeunicode = true
pager = diff-so-fancy | less --tabs=4 -R
[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
[commit]
template = ~/.stCommitMsg
gpgsign = true
[gpg]
format = ssh
[gpg "openpgp"]
program = gpg2
[gpg "ssh"]
# program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
program = "/opt/ssh-sign-extract"
allowedSignersFile = ~/.ssh/allowed_signers
[alias]
dtv = "!f() { echo \"$(git describe --tags --long --dirty --always)\"; }; f"
dif = "!f() { git diff | diff-so-fancy; }; f"
logs = log --show-signature
lg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ci) %C(bold blue)<%an (%ce)>%Creset %C(magenta)(Signed: %G?)' --abbrev-commit
branch-prune = "!f() { \
export LC_ALL=en_US.UTF-8; \
git remote prune origin; \
git branch --list --format='%(if:equals=[gone])%(upstream:track)%(then)%(refname:short)%(end)' | xargs git branch -D; \
git prune -v --progress --expire=now; \
}; f"
ignore = update-index --skip-worktree
unignore = update-index --no-skip-worktree
ignored = !git ls-files -v | grep ^S
[push]
autoSetupRemote = true
[pull]
rebase = true
[interactive]
diffFilter = diff-so-fancy --patch
[color]
ui = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 11
frag = magenta bold
func = 146 bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[url "git@git.walks.cloud:"]
insteadOf = https://git.walks.cloud/
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process