Reputation: 2148
Is it possible to create a README file in a subdirectory on GitHub? I only see the Add a README button when I am in the root directory. It is not visible in subdirectories.
Is there any way I can add a README file in a subdirectory and preview it?
Upvotes: 6
Views: 17894
Reputation: 46
To create a readme.md file for your profile in Git hub create a repository with your username and create a readme.md file and then https://rahuldkjain.github.io/gh-profile-readme-generator/ use this link to generate a content and then commit the changes it will reflect in your git hub repo
Upvotes: -1
Reputation: 2565
Upvotes: 15
Reputation: 28752
There is no button to create a README on the GitHub web interface in any folder but the root. If you want to add a README to another folder, you can navigate to that folder and press the "Create new file" button. Just name the file README.md
and you'll have the exact same editor available.
Upvotes: 4