What does GitHub for Windows/Mac “publish” do?

怎甘沉沦 提交于 2019-12-06 14:30:59

Does it push the branch to my origin?

Yes, but if you don't have an origin yet, it will ask you for the kind of remote repo you want to create.
(create... on GitHub of course)

See "Push your code to GitHub.com"

Click the “Publish” button in the upper-right corner and GitHub Desktop will ask you what kind of repository to create:

  • Public repository — Anyone can see a public repository, but you choose who can commit (make changes) to it. You can create as many public repositories as you want on GitHub.com for free.

  • Private repository — By default, only you can see a private repository. You choose who can see and commit to this repository by adding collaborators. Private repositories require a paid subscription on GitHub.com.

Then the button transforms to a "Sync" button.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!