Eu tenho duas versões diferentes do git. Na versão 1.6.2, git pushnão tem a -uopção Ele aparece apenas na versão 1.7.x.
Dos documentos, o -uestá relacionado à variável
branch.<name>.merge
no git config. Essa variável é descrita abaixo:
Defines, together with branch.<name>.remote, the upstream branch
for the given branch. It tells git fetch/git pull which branch to merge.
O que é um ramo upstream?
1
Veja também stackoverflow.com/questions/2739376/…
—
VonC