Initially, I had 2 branches in the Github repository: developer and master. After I made commits to the developer branch, I did merge (from Pull Requests), and then I tried to mark this merge (by clicking Revert on the Pull Requests tab). Everything seems to be fine, on the Code tab, everything looks as expected - the code in the master branch no longer includes the code made in the specified commits. However, now I can't make a pull request to merge these commits from developer to master:

enter image description here

In this case, when changing the base (after clicking on the link “ switching the base” ), the changes are:

enter image description here

but in this case it is proposed to delete the commit code from developer, i.e. casting the developer branch code to the form of the master branch code, and I need to do the opposite. How can this be done?

    0