El siguiente command:
$ git branch -a
performances
* develop master remotes/origin/HEAD -> origin/develop remotes/origin/develop remotes/origin/feature/foo remotes/origin/master
pero no quiero remotes/origin/feature/foo
branch. ¿Qué podría haber hecho para tener esto? ¿Cómo lo borro?
He intentado esto:
git push origin --delete origin/feature/foo
pero entiendo esto:
error: unable to push to unqualified destination: origin/feature/foo The destination refspec neither matches an existing ref on the remote nor begins with refs/, and we are unable to guess a prefix based on the source ref. error: failed to push some refs to '...my remote repo...'
¿Algunas ideas? Muchas gracias :).
Cuando usted llama
git push origin feature/foo
git
realmente ve
git push origin feature/foo:feature/foo
lo que significa " feature/foo
empuje feature/foo
(lado izquierdo) para feature/foo
remotas feature/foo
(lado derecho).
Con
git push origin :feature/foo
presionas "nada" para feature/foo