If we execute
git fetch -p or
git fetch --prune it will prune branches if deleted on remote.
After executing this command if we do
git branch -vv it suppose to show
: gone] for the local branches which are deleted from remote.
In my case sometimes it is working as expected but not always. Sometimes it is not adding
: gone] to the branches deleted on remote.
My goal here is to delete branche if local branch is deleted on remote.
I am wondering why this is happening ?