Skip to main content
我们经常发布文档更新,此页面的翻译可能仍在进行中。 有关最新信息,请访问英语文档
Update to the latest version of GitHub Desktop before February 2 to avoid disruptions. For more information, see the GitHub blog post.

保持本地存储库与 GitHub 同步

在对远程仓库进行更改时,可使本地仓库与远程仓库保持同步。 在 Git 中,“远程”是存储代码的服务器。 在您的情况中,该服务器是 GitHub 或 GitHub Enterprise 上的仓库。

  • 同步分支

    当提交推送到您在 GitHub 上的项目时,可通过从远程仓库拉取同步保留项目的本地副本。