将我的主 GitHub 页面重定向到我的另一个存储库

Redirect my main GitHub page to another repository of mine

目前我在 GitHub 上的页面是这样的:

https://my_user.github.io

我有一个发布了这个 URL 的存储库,可以从任何地方访问它。

https://my_user.github.io/cv/#!/home

我希望当任何人访问我的个人 GitHub URL 时,它将被重定向到我的存储库。当我访问 https://my_user.github.io , I must be redirected to https://my_user.github.io/cv/#!/home

我该怎么做?

根命名空间 https://my_user.github.io 来自 https://github.com/my_user/my_user.github.io 存储库。你可以在那里放一个 index.html with HTML redirect:

<meta HTTP-Equiv="Refresh" content="0; URL=https://my_user.github.io/cv/#!/home">