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 feature1
Remove branch feature2
using develop as base:
git sculpt --base develop feature2
Remove all local branches (keeps all not safe for removal):
git sculpt --all
git sculpt --all -i # will ask confirmation for removal
The following command will trigger cross platform build for amd64
for macOS, Linux and Windows.
make
Similar 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).