optional to hide outputs.

This commit is contained in:
Daveberry committed 2026-06-10 01:08:12 +08:00
1 parent 61ac03e7b4
commit 70144e6ee0
8 files changed
+22 -16

No files matched your search

+2 -2
View File
@@ -44,7 +44,7 @@ func performAccountSwitch(username string) error {
return err
}
if err := utils.RunGitSequence(
if err := utils.RunGitSequence(false,
[]string{"config", "--global", "user.name", account.Username},
[]string{"config", "--global", "user.email", account.Email},
); err != nil {
@@ -66,5 +66,5 @@ func performAccountSwitch(username string) error {
}
func performBranchSwitch(branchName string) error {
return utils.RunGitSequence([]string{"switch", branchName})
return utils.RunGitSequence(false, []string{"switch", branchName})
}