How do I make another file the standard instead of README.md #72144
Replies: 5 comments 5 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
As best of my knowledge it should be that you access the default and then add a renamed version behind it.
|
Beta Was this translation helpful? Give feedback.
-
|
I looked at Github's doc on README - https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-readmes - all I can say is it doesn't show how to have a README file that is not named I also found github/markup#360 that provides some clarity on how Github selects the README file to display In short - it seems the README filename must be I don't see anything relevant or helpful in docs on the I found suggestions like creating a README symlink to a different file in the repo - but I didn't bother to try any of these workarounds |
Beta Was this translation helpful? Give feedback.
-
You can't. GitHub does not support that. GitHub has decided that "README.md should be good enough for everyone." GitHub could easily offer a setting for specifying which file to consider as the README file, but it does not offer such a setting. Here is a partial workaround, which may and may not work for you, depending on what you are ultimately trying to accomplish:
A symbolic link (a.k.a. symlink) can be created:
Note: it is important to specify the target of the symbolic link as GitHub recognizes symbolic links and shows them with slightly different icons that have a little overlaid arrow. On the landing page of your repository, GitHub understands that |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to GitHub and wondering how I make another file automatically show that is not called README.md.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions