diff options
| author | Jeff Carr <[email protected]> | 2025-09-25 15:32:42 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-25 15:32:42 -0500 |
| commit | 3bdf0143be9634d40dd0c7f8cc2181c38ae2dd0c (patch) | |
| tree | a9f01201bcaa857b77f28b9ccef52c7897baaa32 | |
| parent | 643c9c92202ea2d3fcd8160b65024364e0e708d4 (diff) | |
delete these odd branchesv0.25.27
| -rw-r--r-- | doClean.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -187,6 +187,12 @@ func doRepoCleanDevel(repo *gitpb.Repo) error { } if err := justDeleteTheDevelBranchAlready(repo); err != nil { log.Info("justDeleteTheDevel() err", repo.GetGoPath(), err) + bname := repo.GetDevelBranchName() + s := fmt.Sprintf("delete this odd devel %bname branch %s?", bname, repo.FullPath) + if fhelp.QuestionUser(s) { + repo.RunVerbose([]string{"git", "branch", "-D", bname}) + // repo.RunVerbose([]string{"git", "checkout", bname}) + } configSave = true return err } |
