|
|
@ -1,3 +1,26 @@
|
|
|
|
|
|
|
|
# me
|
|
|
|
|
|
|
|
[user]
|
|
|
|
|
|
|
|
email = alpha@kejadlen.dev
|
|
|
|
|
|
|
|
name = Alpha Chen
|
|
|
|
|
|
|
|
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINCttH8nEfk1uZ2291P4mbCoNcHxnr9iNBlbZckykeZ8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# remotes
|
|
|
|
|
|
|
|
[fetch]
|
|
|
|
|
|
|
|
prune = true
|
|
|
|
|
|
|
|
[pull]
|
|
|
|
|
|
|
|
rebase = true
|
|
|
|
|
|
|
|
[push]
|
|
|
|
|
|
|
|
default = current
|
|
|
|
|
|
|
|
followTags = true
|
|
|
|
|
|
|
|
recurseSubmodules = on-demand
|
|
|
|
|
|
|
|
autoSetupRemote = true
|
|
|
|
|
|
|
|
[url "git@github.com:"]
|
|
|
|
|
|
|
|
insteadof = https://github.com/
|
|
|
|
|
|
|
|
[url "git@git.kejadlen.dev:"]
|
|
|
|
|
|
|
|
insteadof = https://git.kejadlen.dev/
|
|
|
|
|
|
|
|
[transfer]
|
|
|
|
|
|
|
|
fsckobjects = true
|
|
|
|
|
|
|
|
|
|
|
|
[color]
|
|
|
|
[color]
|
|
|
|
ui = auto
|
|
|
|
ui = auto
|
|
|
|
diff = true
|
|
|
|
diff = true
|
|
|
@ -21,54 +44,14 @@
|
|
|
|
fix = commit --fixup @
|
|
|
|
fix = commit --fixup @
|
|
|
|
ctags = !.git/hooks/ctags
|
|
|
|
ctags = !.git/hooks/ctags
|
|
|
|
lg = log --date=format:'%a %b %e, %Y' --pretty=format:'%C(yellow)%h%C(reset) %s %C(cyan)%cd%C(reset) %C(blue)%an%C(reset) %C(green)%d%C(reset)' --graph ; https://roadrunnertwice.dreamwidth.org/596185.html
|
|
|
|
lg = log --date=format:'%a %b %e, %Y' --pretty=format:'%C(yellow)%h%C(reset) %s %C(cyan)%cd%C(reset) %C(blue)%an%C(reset) %C(green)%d%C(reset)' --graph ; https://roadrunnertwice.dreamwidth.org/596185.html
|
|
|
|
[difftool]
|
|
|
|
|
|
|
|
prompt = false
|
|
|
|
|
|
|
|
[difftool "sourcetree"]
|
|
|
|
|
|
|
|
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
|
|
|
|
|
|
|
|
[difftool "kaleidoscope"]
|
|
|
|
|
|
|
|
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
|
|
|
|
|
|
|
|
[difftool "icdiff"]
|
|
|
|
|
|
|
|
cmd = icdiff --line-numbers --no-bold \"$LOCAL\" \"$REMOTE\"
|
|
|
|
|
|
|
|
[difftool "difftastic"]
|
|
|
|
|
|
|
|
cmd = difft "$LOCAL" "$REMOTE"
|
|
|
|
|
|
|
|
[push]
|
|
|
|
|
|
|
|
default = current
|
|
|
|
|
|
|
|
followTags = true
|
|
|
|
|
|
|
|
recurseSubmodules = on-demand
|
|
|
|
|
|
|
|
autoSetupRemote = true
|
|
|
|
|
|
|
|
[grep]
|
|
|
|
[grep]
|
|
|
|
extendRegexp = true
|
|
|
|
extendRegexp = true
|
|
|
|
lineNumber = true
|
|
|
|
lineNumber = true
|
|
|
|
[pull]
|
|
|
|
|
|
|
|
rebase = true
|
|
|
|
|
|
|
|
[apply]
|
|
|
|
[apply]
|
|
|
|
whitespace = warn
|
|
|
|
whitespace = warn
|
|
|
|
[merge]
|
|
|
|
|
|
|
|
conflictstyle = zdiff3
|
|
|
|
|
|
|
|
ff = false
|
|
|
|
|
|
|
|
tool = vimdiff
|
|
|
|
|
|
|
|
[mergetool "vimdiff"]
|
|
|
|
|
|
|
|
path = nvim
|
|
|
|
|
|
|
|
[mergetool "nvimdiff"]
|
|
|
|
|
|
|
|
cmd = nvim -d \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
|
|
|
|
|
|
|
|
[mergetool "sourcetree"]
|
|
|
|
|
|
|
|
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
|
|
|
|
|
|
|
|
trustExitCode = true
|
|
|
|
|
|
|
|
[mergetool "kaleidoscope"]
|
|
|
|
|
|
|
|
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
|
|
|
|
|
|
|
|
trustExitCode = true
|
|
|
|
|
|
|
|
[init]
|
|
|
|
[init]
|
|
|
|
templatedir = ~/.git_templates
|
|
|
|
templatedir = ~/.git_templates
|
|
|
|
defaultBranch = main
|
|
|
|
defaultBranch = main
|
|
|
|
[diff]
|
|
|
|
|
|
|
|
algorithm = histogram
|
|
|
|
|
|
|
|
external = difft
|
|
|
|
|
|
|
|
; compactionHeuristic = true
|
|
|
|
|
|
|
|
indentHeuristic = true
|
|
|
|
|
|
|
|
colorMoved = default
|
|
|
|
|
|
|
|
submodule = log
|
|
|
|
|
|
|
|
[fetch]
|
|
|
|
|
|
|
|
prune = true
|
|
|
|
|
|
|
|
[tag]
|
|
|
|
[tag]
|
|
|
|
sort = version:refname
|
|
|
|
sort = version:refname
|
|
|
|
[rebase]
|
|
|
|
[rebase]
|
|
|
@ -79,12 +62,6 @@
|
|
|
|
[interactive]
|
|
|
|
[interactive]
|
|
|
|
singlekey = true
|
|
|
|
singlekey = true
|
|
|
|
diffFilter = delta --color-only --features=interactive
|
|
|
|
diffFilter = delta --color-only --features=interactive
|
|
|
|
[url "git@github.com:"]
|
|
|
|
|
|
|
|
insteadof = https://github.com/
|
|
|
|
|
|
|
|
[url "git@git.kejadlen.dev:"]
|
|
|
|
|
|
|
|
insteadof = https://git.kejadlen.dev/
|
|
|
|
|
|
|
|
[transfer]
|
|
|
|
|
|
|
|
fsckobjects = true
|
|
|
|
|
|
|
|
[submodule]
|
|
|
|
[submodule]
|
|
|
|
fetchJobs = 4
|
|
|
|
fetchJobs = 4
|
|
|
|
recurse = true
|
|
|
|
recurse = true
|
|
|
@ -95,10 +72,6 @@
|
|
|
|
clean = alfredworkflow.clean
|
|
|
|
clean = alfredworkflow.clean
|
|
|
|
[filter "dash-prefs"]
|
|
|
|
[filter "dash-prefs"]
|
|
|
|
clean = clean-dash-prefs
|
|
|
|
clean = clean-dash-prefs
|
|
|
|
[user]
|
|
|
|
|
|
|
|
email = alpha@kejadlen.dev
|
|
|
|
|
|
|
|
name = Alpha Chen
|
|
|
|
|
|
|
|
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINCttH8nEfk1uZ2291P4mbCoNcHxnr9iNBlbZckykeZ8
|
|
|
|
|
|
|
|
[filter "lfs"]
|
|
|
|
[filter "lfs"]
|
|
|
|
process = git-lfs filter-process
|
|
|
|
process = git-lfs filter-process
|
|
|
|
required = true
|
|
|
|
required = true
|
|
|
@ -110,10 +83,32 @@
|
|
|
|
enabled = true
|
|
|
|
enabled = true
|
|
|
|
[branch]
|
|
|
|
[branch]
|
|
|
|
sort = -committerdate
|
|
|
|
sort = -committerdate
|
|
|
|
[gpg]
|
|
|
|
[include]
|
|
|
|
format = ssh
|
|
|
|
path = ~/.gitconfig.local
|
|
|
|
[gpg "ssh"]
|
|
|
|
[log]
|
|
|
|
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
|
|
|
|
follow = true
|
|
|
|
|
|
|
|
date = iso
|
|
|
|
|
|
|
|
[status]
|
|
|
|
|
|
|
|
submoduleSummary = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# diff things
|
|
|
|
|
|
|
|
[diff]
|
|
|
|
|
|
|
|
algorithm = histogram
|
|
|
|
|
|
|
|
external = difft
|
|
|
|
|
|
|
|
; compactionHeuristic = true
|
|
|
|
|
|
|
|
indentHeuristic = true
|
|
|
|
|
|
|
|
colorMoved = default
|
|
|
|
|
|
|
|
submodule = log
|
|
|
|
|
|
|
|
[difftool]
|
|
|
|
|
|
|
|
prompt = false
|
|
|
|
|
|
|
|
[difftool "sourcetree"]
|
|
|
|
|
|
|
|
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
|
|
|
|
|
|
|
|
[difftool "kaleidoscope"]
|
|
|
|
|
|
|
|
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
|
|
|
|
|
|
|
|
[difftool "icdiff"]
|
|
|
|
|
|
|
|
cmd = icdiff --line-numbers --no-bold \"$LOCAL\" \"$REMOTE\"
|
|
|
|
|
|
|
|
[difftool "difftastic"]
|
|
|
|
|
|
|
|
cmd = difft "$LOCAL" "$REMOTE"
|
|
|
|
[delta]
|
|
|
|
[delta]
|
|
|
|
features = decorations
|
|
|
|
features = decorations
|
|
|
|
navigate = true
|
|
|
|
navigate = true
|
|
|
@ -122,10 +117,27 @@
|
|
|
|
line-numbers-right-format = "│ "
|
|
|
|
line-numbers-right-format = "│ "
|
|
|
|
[delta "decorations"]
|
|
|
|
[delta "decorations"]
|
|
|
|
hunk-header-style = omit
|
|
|
|
hunk-header-style = omit
|
|
|
|
[include]
|
|
|
|
|
|
|
|
path = ~/.gitconfig.local
|
|
|
|
# merging
|
|
|
|
[log]
|
|
|
|
[merge]
|
|
|
|
follow = true
|
|
|
|
conflictstyle = zdiff3
|
|
|
|
date = iso
|
|
|
|
ff = false
|
|
|
|
[status]
|
|
|
|
tool = vimdiff
|
|
|
|
submoduleSummary = true
|
|
|
|
[mergetool]
|
|
|
|
|
|
|
|
keepBackup = false
|
|
|
|
|
|
|
|
[mergetool "vimdiff"]
|
|
|
|
|
|
|
|
path = nvim
|
|
|
|
|
|
|
|
[mergetool "nvimdiff"]
|
|
|
|
|
|
|
|
cmd = nvim -d \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
|
|
|
|
|
|
|
|
[mergetool "sourcetree"]
|
|
|
|
|
|
|
|
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
|
|
|
|
|
|
|
|
trustExitCode = true
|
|
|
|
|
|
|
|
[mergetool "kaleidoscope"]
|
|
|
|
|
|
|
|
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
|
|
|
|
|
|
|
|
trustExitCode = true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# signing commits with 1Password
|
|
|
|
|
|
|
|
[gpg]
|
|
|
|
|
|
|
|
format = ssh
|
|
|
|
|
|
|
|
[gpg "ssh"]
|
|
|
|
|
|
|
|
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
|
|
|
|