From 5a02065c2537412a84ea0fd9774530329993fc1d Mon Sep 17 00:00:00 2001 From: Ibrahim Muftee Date: Mon, 15 Apr 2024 16:18:15 -0500 Subject: fix(git): add linux gh auth support --- dot_gitconfig.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dot_gitconfig.tmpl') diff --git a/dot_gitconfig.tmpl b/dot_gitconfig.tmpl index 3e40f5d..d59a8a1 100644 --- a/dot_gitconfig.tmpl +++ b/dot_gitconfig.tmpl @@ -25,4 +25,11 @@ [credential "https://gist.github.com"] helper = helper = !'C:\\Users\\muftei\\scoop\\apps\\gh\\current\\bin\\gh.exe' auth git-credential +{{ else }} +[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 {{ end -}} -- cgit v1.2.3