summaryrefslogtreecommitdiff
path: root/doClean.go
diff options
context:
space:
mode:
Diffstat (limited to 'doClean.go')
-rw-r--r--doClean.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/doClean.go b/doClean.go
index f072906..7dc0049 100644
--- a/doClean.go
+++ b/doClean.go
@@ -20,15 +20,11 @@ func checkRemoteBranches(repo *gitpb.Repo) error {
}
if repo.VerifyRemoteAndLocalBranches(repo.GetDevelBranchName()) {
} else {
- repo.Reload()
- me.forge.SetConfigSave(true)
- return log.Errorf("remote devel is out of sync with local")
+ return log.Errorf("remote devel is out of sync with local: todo: git pull or git fetch")
}
if repo.VerifyRemoteAndLocalBranches(repo.GetMasterBranchName()) {
} else {
- repo.Reload()
- me.forge.SetConfigSave(true)
- return log.Errorf("remote master is out of sync with local")
+ return log.Errorf("remote master is out of sync with local: todo: git pull or git fetch")
}
return nil
}