{"thread":{"id":"22363","subject":"[PATCH] Documentation: move away misplaced 'push --upstream' description","startedAt":"2010-01-23T22:18:23Z","lastAt":"2010-01-23T22:18:23Z","messageCount":1,"participants":["Thomas Rast"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"132508","messageId":"c9fc2b7c73b401d59c15cc290a116f60d3ce13de.1264285016.git.trast@student.ethz.ch","threadId":"22363","inReplyTo":null,"subject":"[PATCH] Documentation: move away misplaced 'push --upstream' description","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2010-01-23T22:18:23Z","receivedAt":"2010-01-23T22:18:23Z","isPatch":true,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"e9fcd1e (Add push --set-upstream, 2010-01-16) inadvertently patched\nthe description of --upstream in the middle of that of --repo.\n\nSigned-off-by: Thomas Rast <trast@student.ethz.ch>\n---\n[And this, too.]\n\n Documentation/git-push.txt |   14 +++++++-------\n 1 files changed, 7 insertions(+), 7 deletions(-)\n\ndiff --git a/Documentation/git-push.txt b/Documentation/git-push.txt\nindex c63932b..73a921c 100644\n--- a/Documentation/git-push.txt\n+++ b/Documentation/git-push.txt\n@@ -122,13 +122,6 @@ nor in any Push line of the corresponding remotes file---see below).\n \tthe name \"origin\" is used. For this latter case, this option\n \tcan be used to override the name \"origin\". In other words,\n \tthe difference between these two commands\n-\n--u::\n---set-upstream::\n-\tFor every branch that is up to date or successfully pushed, add\n-\tupstream (tracking) reference, used by argument-less\n-\tlinkgit:git-pull[1] and other commands. For more information,\n-\tsee 'branch.<name>.merge' in linkgit:git-config[1].\n +\n --------------------------\n git push public         #1\n@@ -139,6 +132,13 @@ is that #1 always pushes to \"public\" whereas #2 pushes to \"public\"\n only if the current branch does not track a remote branch. This is\n useful if you write an alias or script around 'git push'.\n \n+-u::\n+--set-upstream::\n+\tFor every branch that is up to date or successfully pushed, add\n+\tupstream (tracking) reference, used by argument-less\n+\tlinkgit:git-pull[1] and other commands. For more information,\n+\tsee 'branch.<name>.merge' in linkgit:git-config[1].\n+\n --thin::\n --no-thin::\n \tThese options are passed to 'git send-pack'.  Thin\n-- \n1.6.6.1.577.gf1430\n"}]}