Use tea login add --helper instead of --git-credentials
This commit is contained in:
1 parent
78160b453f
commit
653da47753
1 file changed
+1
-1
@@ -197,7 +197,7 @@ func ConfigureTeaAndGit(ctx context.Context, teaBin, name, giteaURL, token strin
|
|||||||
"--name", name,
|
"--name", name,
|
||||||
"--url", strings.TrimRight(giteaURL, "/"),
|
"--url", strings.TrimRight(giteaURL, "/"),
|
||||||
"--token", token,
|
"--token", token,
|
||||||
"--git-credentials",
|
"--helper",
|
||||||
)
|
)
|
||||||
out, err := addCmd.CombinedOutput()
|
out, err := addCmd.CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in new issue
Block a user