英文:
Does changing github username effect pages?
问题
如果我将我的GitHub用户名更改为 new_username
,那么我的GitHub页面项目会变成新用户名吗?
示例:https://old_username.github.io/project_name
将变为 https://new_username.github.io/project_name
,
而 https://old_username.github.io/
将变为 https://new_username.github.io/
。
英文:
If I change my github username to new_username
will my github page projects be my new username?
Example: https://old_username.github.io/project_name
will become https://new_username.github.io/project_name
,
and https://old_username.github.io/
will become https://new_username.github.io/
.
答案1
得分: 0
正如文章中所述,在评论部分由@evolutionxbox提到,您可以通过以下next链接详细了解:
> 更改用户名后,您的旧用户名变为其他人可以索赔的状态。
>
> 对旧用户名下的存储库的大多数引用会自动更改为新用户名。但是,对您的个人资料的一些链接不会自动重定向。
英文:
As stated in the article, mentioned in the comment section by @evolutionxbox, you can read more about it following the next source:
> After changing your username, your old username becomes available for
> anyone else to claim.
>
> Most references to your repositories under the old username
> automatically change to the new username. However, some links to your
> profile won't automatically redirect.
答案2
得分: 0
从GitHub 参考 页面:
在您更改用户名后,GitHub将自动重定向到您的存储库引用。
对现有存储库的Web链接将继续工作。在您进行更改后,完成此操作可能需要几分钟。
从您的本地存储库克隆推送的命令行到旧的远程跟踪URL将继续工作。
如果[您的旧用户名的新所有者]创建与您的存储库同名的存储库,那将覆盖重定向条目,您的重定向将停止工作。因此,我们建议您在更改用户名后更新所有现有的远程存储库URL。
英文:
From the GitHub Reference page:
After you change your username, GitHub will automatically redirect references to your repositories.
Web links to your existing repositories will continue to work. This can take a few minutes to complete after you make the change.
Command line pushes from your local repository clones to the old remote tracking URLs will continue to work.
If the [new owner of your old username] creates a repository with the same name as your repository, that will override the redirect entry and your redirect will stop working. Because of this possibility, we recommend you update all existing remote repository URLs after changing your username.
答案3
得分: 0
更改用户名会更改你的页面子域。我更改了我的用户名,https://old_name.github.io/project
变成了 https://new_name.github.io/project
。
英文:
Changing your username changes your pages subdomain.
I changed my username and https://old_name.github.io/project
became https://new_name.github.io/project
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论