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}) }