用相对路径试试?
A relative link is a link that is relative to the current file. For example, if you have a README file in root of your repository, and you have another file in docs/
CONTRIBUTING.md, the relative link to
CONTRIBUTING.md in your README might look like this:
[Contribution guidelines for this project](docs/
CONTRIBUTING.md)
GitHub will automatically transform your relative link or image path based on whatever branch you're currently on, so that the link or path always works. You can use all relative link operands, such as ./ and ../.
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes