summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88955ed)
raw | patch | inline | side by side (parent: 88955ed)
author | Thomas Rast <trast@student.ethz.ch> | |
Sat, 23 Jan 2010 22:18:23 +0000 (23:18 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 24 Jan 2010 19:01:45 +0000 (11:01 -0800) |
e9fcd1e (Add push --set-upstream, 2010-01-16) inadvertently patched
the description of --upstream in the middle of that of --repo.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the description of --upstream in the middle of that of --repo.
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-push.txt | patch | blob | history |
index c63932b16c5292b935d0ddc0b9f022b5275633b4..73a921ca0f224506a0a5587205495c352909db53 100644 (file)
the name "origin" is used. For this latter case, this option
can be used to override the name "origin". In other words,
the difference between these two commands
-
--u::
---set-upstream::
- For every branch that is up to date or successfully pushed, add
- upstream (tracking) reference, used by argument-less
- linkgit:git-pull[1] and other commands. For more information,
- see 'branch.<name>.merge' in linkgit:git-config[1].
+
--------------------------
git push public #1
only if the current branch does not track a remote branch. This is
useful if you write an alias or script around 'git push'.
+-u::
+--set-upstream::
+ For every branch that is up to date or successfully pushed, add
+ upstream (tracking) reference, used by argument-less
+ linkgit:git-pull[1] and other commands. For more information,
+ see 'branch.<name>.merge' in linkgit:git-config[1].
+
--thin::
--no-thin::
These options are passed to 'git send-pack'. Thin