Prune tags locally and/or remotely