Estoy probando Git y Bitbucket.Cómo enviar cambios locales a un repositorio remoto de git en bitbucket
He creado un repositorio en Bitbucket y he creado una copia local del repositorio y estoy ingresando archivos en él. No puedo empujar los archivos de mi repositorio local al repositorio remoto.
Esto es lo que estoy haciendo:
git clone https://[email protected]/me/test.git
cd test
touch dummy
git add dummy
git commit dummy -m "my first git commit"
git push
las salidas de línea finales:
Everything up-to-date
y cuando me conecto a Bitbucket I cann't ver a mi archivo ficticio.
¿Qué estoy haciendo mal?
EDIT:
Hacer esto funcionó:
git push origin master:master
Todas las explicaciones en cuanto a la diferencia entre esto y un simple git push
?
Cualquier nuevo git ver a esta pregunta, por favor ver http://stackoverflow.com/questions/5713563/reasons-for-not-working-on-the-master-branch-in-git – JGallardo