GitHub for Windows/Mac “发布”是做什么的?

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

喜欢What does GitHub for Windows' "sync" do?

GitHub for Windows/Mac “发布”有什么作用?

它是否将分支推到我的原点?

Does it push the branch to my origin?

是的,但如果您还没有来源,它会询问您要创建的远程仓库类型。
(当然是在 GitHub 上创建...)

参见“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.

然后按钮变成“Sync”按钮。