gh: insert empty helper when using credential helper (#7347)
Resets previous helpers so the only one being used is the `gh` cli Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
0f21ed5182
commit
ee2189cb2f
2 changed files with 6 additions and 1 deletions
|
|
@ -193,7 +193,10 @@ in
|
|||
map (
|
||||
host:
|
||||
lib.nameValuePair host {
|
||||
helper = "${cfg.package}/bin/gh auth git-credential";
|
||||
helper = [
|
||||
""
|
||||
"${cfg.package}/bin/gh auth git-credential"
|
||||
];
|
||||
}
|
||||
) cfg.gitCredentialHelper.hosts
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
[credential "https://github.com"]
|
||||
helper = ""
|
||||
helper = "@gh@/bin/gh auth git-credential"
|
||||
|
||||
[credential "https://github.example.com"]
|
||||
helper = ""
|
||||
helper = "@gh@/bin/gh auth git-credential"
|
||||
|
||||
[gpg]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue