I am trying to remove a remote branch in git, I did:
git branch -r ... origin/master origin/dev origin/branch_to_delete
now i am trying to remove origin/branch_to_delete :
git branch -d origin/branch_to_delete error: branch 'origin/branch_to_delete' not found
I did:
git fetch --all
and tried again, the same error. I tried with -D , but with the same error.
but there is a branch, I see it on github.com. What to do?
git git-branch github
doniyor
source share