On 2016-11-05 09:07, Mojca Miklavec wrote:
> # go to master and pull the latest changes
> git checkout master
> git pull --rebase
> 
> # if you did your work on libpng in master, you are then set
> 
> # else go to your libpng branch and rebase the changes on top of the
> latest master
> git rebase master
> # I don't want to give wrong instructions here, but I suspect that even
> # "git push origin master" works in this case

With this, you would push the local branch master to the remote branch
master. If you want to push to a different remote name than what you
have locally, you need to use the localbranch:remotebranch syntax.

https://help.github.com/articles/pushing-to-a-remote/

For beginners, it should probably be easier to always get the commits to
the local master first before pushing.

Rainer

Reply via email to