implement undo, account store cred

This commit is contained in:
daveberrys committed 2026-07-15 22:24:21 +08:00
1 parent bb6ffb1271
commit aa4f72b87d
2 files changed
+28

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ var switchAccountCmd = &cobra.Command{
if err != nil { return err }
if err := utils.RunGitSequence(false,
[]string{"config", "--global", "credential.helper", "store"},
[]string{"config", "--global", "user.name", account.Username},
[]string{"config", "--global", "user.email", account.Email},
); err != nil { return err }