如何重命名GitHub托管的存储库? [英] How to rename a GitHub hosted repository?
问题描述
因此,如何重命名GitHub上的存储库?
具体而言,我想重新命名
到
注意:这个问题涉及这样做的跟进,而不是程序更改名称。
在GitHub上,转到您的仓库管理员,重命名。指定新名称,然后选择更改,确认即可完成。
您还应该在您的回购库的所有本地副本中重命名远程原点,以便推拉工作。
I recently participated in the San Francisco Drone Olympics. After a friendly note from the real Olympics, the name was changed to the Drone Games or somesuch. I need to change my GitHub name accordingly.
So, How does one rename a repository on GitHub?
For concreteness, I would like to rename
to
Note: this question deals with the followup to doing so, but not the procedure to change the name.
How do I rename a repository on GitHub?
On GitHub, go to your repo, Admin, Rename. Specify the new name, then Change, Confirm and that will be done.
You should also rename the remote origin in all local copies of your repo in order pushing and pulling to work.
这篇关于如何重命名GitHub托管的存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!