Navigate to any directory of your choice and git clone
the repository as follows:
git clone git@github.com:edgaraafelix/git-clean-tags.git
Navigate to the cloned repository and run ./clean.sh
with the -p
argument followed by the path to the repository:
./clean.sh -p ~/Projects/MyApp
After you clean up a repo's tags, ask your team to run the following commands for each project:
git tag -d $(git tag -l) && git fetch