I created README.md in the root of my project on branch “master” and then pushed to Gitlab. Gitlab said, “Your project doesn’t have a README.” I disagree.
I deleted README.md from the root of my project and then pushed again to Gitlab. Then I clicked the “add a README” link to create a README.md file with the same content. Then, Gitlab rendered the README file as I would expect.
I fetched the commit from Gitlab, squashed it together with the commits that I made to try to get this working. The result was a single commit creating README.md with the right content. I force-pushed, and then Gitlab said, “Your project doesn’t have a README.”
It’s right there.