如何重命名GitHub托管的存储库? [英] How to rename a GitHub hosted repository?

查看:104
本文介绍了如何重命名GitHub托管的存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近参加了旧金山无人机奥运会。在真正的奥运会上发出友好的声音后,这个名字变成了无人机游戏或其他游戏。我需要相应地更改我的GitHub名称。



因此,如何重命名GitHub上的存储库?



具体而言,我想重新命名







注意:这个问题涉及这样做的跟进,而不是程序更改名称。



如何我在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆