Faltaba el control remoto. Se corrigió usando:
git remote add origin https://bitbucket.org/usr/repo
Pregunta
Seguí las instrucciones aquí para crear una nueva rama. Ejecuté los siguientes comandos de una instancia de EC2 donde cloné el repositorio:
$ git branch
* master
$ git branch solr
$ git checkout solr
$ git branch
master
* solr
$ git add .
$ git commit -m "adding a change from the feature branch"
$ git checkout master
$ git push origin solr
Pero el comando Push me da el siguiente error:
fatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
Soy un novato para Git. Por favor, ¿alguien podría ayudar? Gracias
Solución
Faltaba el control remoto. Se corrigió usando:
git remote add origin https://bitbucket.org/usr/repo