aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-05 02:03:30 +0900
committernsfisis <nsfisis@gmail.com>2025-12-05 02:03:30 +0900
commit418c54299ec8176340a2946ce11415e2f2bdca21 (patch)
treebb0340d30d0dac2cc9dd86f940f2c3e987d06cad
parent36a349d92eb530cd4678aa24bcfab89a165f58de (diff)
downloaddotfiles-418c54299ec8176340a2946ce11415e2f2bdca21.tar.gz
dotfiles-418c54299ec8176340a2946ce11415e2f2bdca21.tar.zst
dotfiles-418c54299ec8176340a2946ce11415e2f2bdca21.zip
git: reset credential.helper to disable system-default helper
-rw-r--r--.config/git/config8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index 555701c..461ffb5 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -74,6 +74,14 @@
[mergetool]
keepbackup = false
+# https://git-scm.com/docs/gitcredentials
+# > If credential.helper is configured to the empty string, this resets the
+# > helper list to empty (so you may override a helper set by a lower-priority
+# > config file by configuring the empty-string helper, followed by whatever set
+# > of helpers you would like).
+[credential]
+ helper =
+
[credential "https://github.com"]
helper = !gh auth git-credential