Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo把Calendar打成Calender了 #13

Open
SpringHerald opened this issue Feb 5, 2022 · 4 comments
Open

Repo把Calendar打成Calender了 #13

SpringHerald opened this issue Feb 5, 2022 · 4 comments

Comments

@SpringHerald
Copy link

如题,我搜了一下发现没搜到,原来repo把calendar打错了

@lanceliao
Copy link
Owner

不好意思,的确写错了...
现在也不方便改正了,不然订阅的链接会变,暂时留着这个错误吧

@F-loat
Copy link

F-loat commented Feb 14, 2022

github 的仓库重命名后链接应该会自动重定向的,不过不确定订阅是否还有效,可以试下看看

@lanceliao
Copy link
Owner

用另外一个库试了下,静态文件的旧URL在repo重命名后是可以保持不变的,而且是直链,连重定向都不需要
但是我没有找到GitHub的相关文档,不确定这种机制是永久有效还是具有时效性

@JasonWei512
Copy link

https://docs.github.com/en/repositories/creating-and-managing-repositories/renaming-a-repository

Warning: If you create a new repository under your account in the future, do not reuse the original name of the renamed repository. If you do, redirects to the renamed repository will break.

如果在重命名后再创建一个名为 "china-holiday-calender" 的仓库的话,那么这种重定向就会失效。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants