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

前端 未结 5 806
萌比男神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:39

    This looks like an answer to your question (section "Update 2011-04-15" of the topic):

    Git workflow and rebase vs merge questions

    Micah describes the technique of squash merges which let you merge changes from your feature branch as a single commit to the master branch.

提交回复
热议问题