on-internet
← Community

Split PR into two PRs by files

Stack Overflow ·

I have a Pull Request with six files, call them: A, B, C, X, Y, and Z. None of this is merged to master, but the local branch has been pushed to the remote on GitHub. There are many, many commits that touch any and all of these files. Some commits touch only one file. Some touch all six. I want to create two new PRs. One PR contains files A, B, and C with all the changes from all the commits. The other PR contains X, Y, and Z with all the changes to those files from all the commits. I don't care what happens to the commit history or branches. All commits will be squashed before merge and all w

Comments

Sign in or sign up to comment and upvote.

No comments yet.