summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doNormal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/doNormal.go b/doNormal.go
index 9838d25..33cbcf6 100644
--- a/doNormal.go
+++ b/doNormal.go
@@ -39,6 +39,7 @@ func doNormal() bool {
s := fmt.Sprintf("repair the %s branch on %s", bname, repo.FullPath)
if fhelp.QuestionUser(s) {
// todo, check to make sure we aren't on this branch
+ repo.RunVerbose([]string{"git", "checkout", repo.GetMasterBranchName()})
repo.RunVerbose([]string{"git", "branch", "-D", bname})
repo.RunVerbose([]string{"git", "checkout", bname})
}