How Can I select some of my commits to pull requests? #155588
Replies: 2 comments
-
|
To create multiple pull requests (PRs) from specific commits on your main branch, you’ll need to restructure your commit history using Git. This process involves creating new branches and cherry-picking the desired commits. Here’s a step-by-step guide: 
Important Considerations:
By following this workflow, you can create focused and manageable pull requests, making it easier for maintainers to review and merge your contributions. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Hi guys
I am new comer to Github, and did not do Pull Request before.
I have commited a few times on the projects, now I want to contribute my codes.
There are about 7 commits based on different fixing/improvement need to be contributed, so there are many changes on the codes, and maybe some files were updated for multiple times.Simply , the accumulated changes on the codes become complex,but I didn't create the branches for these commits, they are all on my main branch.
So I want to raise multiple pull requests according to the different updates, and there are some other commits are useless and should be excluded ,or it will be too hard for auditing if I include all of them in one pull request.
But when I try to new pull request, I find I cannot select my commits according to my needs.
Could you tell me if the website support such feature?below screenshot is just an example
Beta Was this translation helpful? Give feedback.
All reactions