Skip to content

After force push to default branch, old README is still displayed

Summary

When the default branch of a project has a README and gets overwritten by force push with a branch without a README, the old README is still displayed on the project page.

Steps to reproduce

  • create empty project
  • create README.md
  • make default branch non-protected
  • create new branch without README.md
  • force push to default branch

What is the current bug behavior?

What is the expected correct behavior?