Tool for removing merged local branches. Extremely useful in case when changes are incorporated into mainline by rebase.
Tool removes branch only if it thinks it is safe.
Go to the latest release to download binaries.
Remove single branch feature1:
git sculpt feature1Remove branch feature2 using develop as base:
git sculpt --base develop feature2Remove all local branches (keeps all not safe for removal):
git sculpt --all
git sculpt --all -i # will ask confirmation for removalThe following command will trigger cross platform build for amd64 for macOS, Linux and Windows.
makeSimilar to what real rebase does: search for merge base, then calculate patch-id for all commits in local branch and try to find all of them in the base branch (master by default).