Avoid unwanted merge commits and other commits when doing pull request on GitHub

前端 未结 5 808
萌比男神i
萌比男神i 2021-01-31 10:10

I forked a project on Github.

Let the remote upstream be upstream and my remote repository be origin. My local master branch is se

5条回答
  •  醉话见心
    2021-01-31 10:40

    On Github, You can't create a pull request for a single specific checkin on a branch that has multiple checkins separating it from upstream.

    Create a branch specifically for each pull request you intend to make. This allows you to continue working without fear of polluting a pull request.

提交回复
热议问题