Tengo dos versiones diferentes de git. En la versión 1.6.2, git push
no tiene la opción -u
. Solo aparece en la versión 1.7.x.¿Qué significa git push -u?
A partir de los documentos, la -u
está relacionada con la variable
branch.<name>.merge
en git config
. Esta variable se describe a continuación:
Defines, together with branch.<name>.remote, the upstream branch
for the given branch. It tells git fetch/git pull which branch to merge.
¿Qué es una rama ascendente?
Véase también http://stackoverflow.com/questions/2739376/definition-of-downstream-and-upstream/2749166#2749166 – VonC