Correctly clear tags and merged remote branches