How to keep readme from being web accessible

Viewed 1372

I have a plain text readme file that is in the root directory of my website which is version controlled with Git. I like to have the readme there because GitHub will display it when viewing that repo.

However, when I go to mysite.com/readme.md, I get the readme file back. I do not want this file to be accessible to the public.

What is the best way to effectively disallow the public from accessing this readme file without moving the file away from the root of the project?

1 Answers
Related