I have great experience in IT over 12 years: front / back - ends, mobile, system administration and deployment cycle. I implement effective and great software products.
That is true, though when you clone a repo the default upstream is normally set to origin master. This is useful if you want to work on a different remote branch.
When I push a branch that I want to make into a pull request, I normally do git push -u origin new-branch which allows me to easily make updates to that branch.
Thanks for adding the tip!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
TIP
Also you can set default upstream for your push, by:
git push -u remote branch, i.e.:git push -u origin master.So every next time, you have to push in short way
git push.That is true, though when you
clonea repo the default upstream is normally set toorigin master. This is useful if you want to work on a different remote branch.When I push a branch that I want to make into a pull request, I normally do
git push -u origin new-branchwhich allows me to easily make updates to that branch.Thanks for adding the tip!