JGit, remove tags no longer in remote

13 Views Asked by At

This is a question specific to the JGit api.
I would like to replicate in JGit the same behavior of the following Git command:
git fetch --prune --prune-tags, which basically removes, from the local repository, the tags which are no longer existing in remote.
I cant see this option in the API

0

There are 0 best solutions below