Delete git branch not work and prune not working?

Viewed 17

git branch -r

This yields origin/dean/testNewProcess

ok, delete it

dean@Deans-MacBook-Pro monorepo % git push origin --delete testNewProcess
error: unable to delete 'testNewProcess': remote ref does not exist
error: failed to push some refs to 'work:vendsy/monorepo.git'

Ok, not exist, prune remote then local perhaps

git remote prune origin
git fetch --prune

git branch -r still lists it as being there.

How to delete this elusive branch? All my other deletions worked!!!

My configuration

dean@Deans-MacBook-Pro monorepo % git config remote.origin.fetch
+refs/heads/*:refs/remotes/origin/*
0 Answers
Related