Closed (duplicate)
Project:
Git on Drupal.org
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Mar 2011 at 21:26 UTC
Updated:
18 Mar 2011 at 15:33 UTC
Currently, the instructions for a new project mimic that of GitHub:
push origin master
That's actually wrong. I do not know of any use case where you don't really mean:
push --set-upstream origin master
or the shorter version:
push -u origin master
Not setting the upstream just makes pushing later harder. Let's update the docs to have people set upstream by default so fewer weird things happen to them later.
Comments
Comment #1
damien tournoud commented--set-upstreamappeared only in Git 1.7.0.9.I'm not sure if there is an alternative other then editing the .git file manually in previous Git versions.
Comment #2
eliza411 commentedI'll definitely update documentation about this, but I'm not sure about the instructions as the command is so new.
Comment #3
eliza411 commentedMarking this duplicate in favor of #1081308: Include "-u" option in new branch instructions
Comment #4
eliza411 commentedMarking duplicate