aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-01-22 00:38:19 +0900
committernsfisis <nsfisis@gmail.com>2025-01-22 00:38:19 +0900
commita11301c25fea8dcbab7de468e194cb7624d02b82 (patch)
treedd3ec2ad3f068b5f9d793da197355eca2ef52f66
parent8bb1084d5ef543e2a8b59b05ca37210aa34f2d0a (diff)
downloaddotfiles-a11301c25fea8dcbab7de468e194cb7624d02b82.tar.gz
dotfiles-a11301c25fea8dcbab7de468e194cb7624d02b82.tar.zst
dotfiles-a11301c25fea8dcbab7de468e194cb7624d02b82.zip
git: configure `gh` as credential helper
-rw-r--r--.config/git/config4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/git/config b/.config/git/config
index a6215bd..3c154d6 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -47,6 +47,10 @@
[credential]
helper = osxkeychain
+[credential "https://github.com"]
+ helper = !gh auth git-credential
+[credential "https://gist.github.com"]
+ helper = !gh auth git-credential
[filter "lfs"]
clean = git-lfs clean -- %f