How to make multiple unrelated Pull Requests to the repository 1 with the possibility to add the commits?

0 like 0 dislike
8 views
Unrelated: one diff PR should not include the rest of the PR.

It is desirable that the author of the commit was 1 user.

The only way I see now is to create a new user github => committing in their fork from your user => new PR of duplicates.
by | 8 views

1 Answer

0 like 0 dislike
Create two branches from the main branch (e.g. master):
$ git checkout master $ git checkout-b feature_branch_1 $ git checkout master $ git checkout-b feature_branch_2

Add the commits within each branch to send changes to the server (git push) and make two pool request.
Pool request not be connected.

Please note that every time before creating a new branch, you first need to return to the main (git checkout master). If this is not done, then you get a situation in which the changes of the second pull request include changes from the first.

Take two fork and two new users, certainly not worth it. If you don't have rights to push to the original repository, then you only need one fork and one (your) user.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
asked Apr 9, 2019 by terrasan32
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
28,662 users