diff options
| author | Ibrahim Muftee <ibrahim@muftee.net> | 2024-04-15 16:18:15 -0500 |
|---|---|---|
| committer | Ibrahim Muftee <ibrahim@muftee.net> | 2026-07-01 00:23:31 -0400 |
| commit | 5a02065c2537412a84ea0fd9774530329993fc1d (patch) | |
| tree | b34d58f9e4a96425fc9750fa8d29f0ea20358986 | |
| parent | 6a42d9c7d3d3820d91befb4cfc999bd5f90a062f (diff) | |
fix(git): add linux gh auth support
| -rw-r--r-- | dot_gitconfig.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
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 -}} |
