#7390 "git branch --set-upstream" in new repo instructions is deprecated

unreleased
duplicate
nobody
bitesize (76)
General
nobody
2015-02-25
2014-05-14
Chris Tsai
No

When following the "getting started" quick help on a git repo (ie., as shown on the code browser for a new/empty repo), it tells you to run:

git branch --set-upstream master origin/master  # so 'git pull' will work later

However, when run:

The --set-upstream flag is deprecated and will be removed. Consider using --track or --set-upstream-to

Should be updated on both the new and existing repo sections.

Discussion

  • Dave Brondsema

    Dave Brondsema - 2014-05-14
    • status: open --> duplicate
     
  • Dave Brondsema

    Dave Brondsema - 2014-05-14
     

    Related

    Tickets: #5700


Log in to post a comment.