gitには2つの異なるバージョンがあります。1.6.2バージョンでgit pushは、-uオプションはありません。1.7.xバージョンでのみ表示されます。
ドキュメントから、これ-uは変数に関連しています
branch.<name>.merge
の中でgit config。この変数について以下で説明します。
Defines, together with branch.<name>.remote, the upstream branch
for the given branch. It tells git fetch/git pull which branch to merge.
上流ブランチとは何ですか?
1
stackoverflow.com/questions/2739376/…
—
VonC、2011