Pull-Request for only certain files/commits

前端 未结 2 1362
逝去的感伤
逝去的感伤 2021-01-31 01:23

I have a repository that is forked from GitHub that has a few modifications made to it. However, in a certain commit, a few files were changed that I want to submit a pull-reque

2条回答
  •  孤街浪徒
    2021-01-31 01:56

    Pull requests merge branches. So if you want to isolate some things for a pull request, best is to put those changes in a separate branch.

    Advantage is that you can change the pull request by pushing new changes to that branch (even push -f if you need to change already pushed commits).

提交回复
热议问题