You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <br...@users.sf.net> on 2014/08/12 19:20:29 UTC

[allura:tickets] #5700 Replace "git branch --set-upstream" with "git branch --set-upstream-to" [ss2584]

- **status**: closed --> open
- **Milestone**: forge-jul-11 --> forge-backlog
- **Comment**:

Looks like we actually need to drop the local branch name for the new version of this command.  E.g. `git branch --set-upstream-to origin/master` otherwise you get an error.



---

** [tickets:#5700] Replace "git branch --set-upstream" with "git branch --set-upstream-to" [ss2584]**

**Status:** open
**Milestone:** forge-backlog
**Labels:** support p3 bitesize 
**Created:** Mon Jan 28, 2013 04:22 PM UTC by Chris Tsai
**Last Updated:** Fri Jul 11, 2014 04:41 PM UTC
**Owner:** Cory Johns

[forge:site-support:#2584]

>The example command currently is "git branch --set-upstream master origin/master", however the --set-upstream option is deprecated:

~~~~
$git branch --set-upstream master origin/master
The --set-upstream flag is deprecated and will be removed. Consider using --track or --set-upstream-to
Branch master set up to track remote branch master from origin.
$
~~~~

Referring to the "empty git repo" instructions.


---

Sent from sourceforge.net because dev@allura.apache.org is subscribed to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.