Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • I want to push demo_master to demo_origin master. Aren't these commands equivalent to what I was doing? Commented Sep 19, 2016 at 18:48
  • I think that the right way to achieve it using set-upstream-to is git branch --set-upstream-to demo_origin/master when you are on the demo_master branch. Commented Sep 19, 2016 at 19:05