This question already has an answer here:
When I do
git ls-remote to my remote repository it shows:
HEAD refs/heads/BranchA refs/heads/master refs/remotes/origin/BranchA refs/remotes/origin/master
How can I delete the last two entries?
Not just a duplicate, but Google for "git delete remote branch" seems to yield lots of results, too.
I fear the first ones will deleted...these post doesn't answer that
How would it guarantee the first two ones will not be deleted.?