Pull Request button on repository from template leads to 404-page

Hi,

We have an issue with one of our repositories created from an template repository. We have a problem that we are greeted with a 404-page when clicking on the button “create new pull request”.

I should note that I have tried to replicate this issue by:

  • Creating a new organisation

  • Creating a new template repository

  • Creating a repository based on that template repository

After trying to replicate this issue, I seem to find that it is an issue with the template repository, are you aware that something can be missed regarding the configuration of the template repository?

When trying the following, the same issue, as described above, is present:

  • Creating a repository from the same template.

Attached to this question is two pictures, describing:

Something about the template made the wrong branch name.
You will see something like main…main in the link and the branch name is
master. Then you get the 404.
Im answering because happened to me today and I spent a morning searching, found myself here, with same problem and no answer.

Go Config > go branches > change default branch to correct one.

bless

1 Like