Use tea login add --helper instead of --git-credentials

This commit is contained in:
nandi committed 2026-11-17 22:51:03 +00:00
1 parent 78160b453f
commit 653da47753
1 file changed
+1 -1
+1 -1
View File
@@ -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 {