- 在 Repository(仓库)菜单中,单击 Repository Settings...(仓库设置...)。
- 在 Primary remote repository(主要远程仓库)字段中,键入所需的 URL。
- 单击 Save(保存)。
- 在 Repository(仓库)菜单中,单击 Repository Settings...(仓库设置...)。
- 在 Primary remote repository(主要远程仓库)字段中,键入所需的 URL。
- 单击 Save(保存)。
可在 GitHub Desktop 中更改您操作的仓库的远程 URL。 如果仓库已经更名,或者拥有仓库的用户或组织已经改变,您便可执行此操作。