仓库改名
#28
Replies: 2 comments 6 replies
-
看起来没什么问题,因为不会丢start和fork。唯一的影响是url的改变导致模板主页改变。当前是 https://tr0py.github.io/NKU-thesis-template-2020/ ,改了仓库名之后后面的部分会改变。不过问题不大,唯一用到此url链接的地方是overleaf模板。在overleaf模板更新之前得保证这个链接上有一个可以访问的网页。 我觉得临时的解决办法是,先改名,再创建一个同名repo,host github pages,这样新url和旧url都有github pages。 长期解决办法是,买个域名,把主页host在上面。比如 |
Beta Was this translation helpful? Give feedback.
1 reply
-
先记录下可以改的名字:我觉得 |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
续 #27 (comment)
github文档中关于仓库改名的说明
When you rename a repository, all existing information, with the exception of project site URLs, is automatically redirected to the new name, including: Issues, Wikis, Stars, Followers.
In addition to redirecting web traffic, all git clone, git fetch, or git push operations targeting the previous location will continue to function as if made on the new location.
但是文档中,对GitHub Pages.是否受到影响的说明语焉不详。
详见
https://docs.github.com/en/repositories/creating-and-managing-repositories/renaming-a-repository
Beta Was this translation helpful? Give feedback.
All reactions