If there is only the main branch, collaborators were added to it in the end, can I still create a pull request?
I did the following based on an answer found:
git switch -c newBranch
git push -u origin newBranch
git branch -f main origin/main
Now I wanted to create a PR from that new branch back to the original repository but I can’t as it says newBranch
and main
are identical (obviously). How can I do it?
1