Branch cleanup

Detects merged and non-merged but stale branches. Cleanup can be triggered manually from Git / GitToolBox / Git Branches Cleanup or automatically. Base branches and exclusions are configured using glob patterns in Settings / GitToolBox / Branches

branch-cleanup-dialog

Base branches are ones into which topic branches are merged.

Supported merge types:

  • regular merge
  • squash (paid)
  • cherry-pick (paid)

Regular merge

Detects fully merged branches.

Squash merge (paid)

Handles squash-merged branches, with limitation that squashed commits may not contain conflict resolution changes. In such cases, topic branch should be first rebased on top of base branch and then squashed.

Cherry-pick (paid)

Detects branches with all commits cherry-picked to base branch.