gitconfig
Add fetch.pruneTags, diff.colorMoved, and diff.mnemonicPrefix from this
post:
https://blog.gitbutler.com/how-git-core-devs-configure-git/
Also clean up unused diff tools
diff --git a/.gitconfig b/.gitconfig
index 29881efb..ad0d22ef 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -7,6 +7,7 @@
# remotes
[fetch]
prune = true
+ pruneTags = true
[pull]
rebase = true
[push]
@@ -105,27 +106,12 @@
external = difft
; compactionHeuristic = true
indentHeuristic = true
- colorMoved = default
+ colorMoved = dimmed-zebra
submodule = log
renames = copy
+ mnemonicPrefix = true
[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]
- features = decorations
- navigate = true
- line-numbers = true
- side-by-side = true
- line-numbers-right-format = "│ "
-[delta "decorations"]
- hunk-header-style = omit
# merging
[merge]