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

时间秒杀一切 提交于 2020-01-23 13:19:06

问题


Like in What does GitHub for Windows' "sync" do?

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

Does it push the branch to my origin?


回答1:


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.



来源:https://stackoverflow.com/questions/38582388/what-does-github-for-windows-mac-publish-do

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