Committed by
Gerrit Code Review
adding a simple script to purge topic branches from your local repo.
It works by checking if your branchs' gerrit change id is present in master if yes it adds the branch to the list of branches to clean. You must run it with --confirm to delete otherwise only a dry-run will be done You can also run it with --one-by-one where it will ask you to confirm each branch deletion Change-Id: Iaabe1a6db72242fd31b14302fb3109e8545a0ad8
Showing
1 changed file
with
51 additions
and
0 deletions
tools/dev/bin/clean-branches.py
0 → 100755
-
Please register or login to post a comment