From 02dfbea6d73098e41641e720d4802c401811294a Mon Sep 17 00:00:00 2001 From: Jacob Bohanon Date: Tue, 8 Oct 2024 09:51:47 -0400 Subject: [PATCH] gh auth helper --- .gitconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitconfig b/.gitconfig index a1f81a0..34118cc 100644 --- a/.gitconfig +++ b/.gitconfig @@ -28,3 +28,9 @@ prompt = true [mergetool "nvimdiff"] cmd = "nvim -d \"$LOCAL\" \"$REMOTE\" \"$MERGED\" -c 'wincmd w' -c 'wincmd J'" +[credential "https://github.com"] + helper = + helper = !/usr/bin/gh auth git-credential +[credential "https://gist.github.com"] + helper = + helper = !/usr/bin/gh auth git-credential