Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: [OT] How to make a second github PR

by salva (Canon)
on Oct 24, 2020 at 19:12 UTC ( #11123128=note: print w/replies, xml ) Need Help??


in reply to [OT] How to make a second github PR

You can create a new branch from the upstream master and then cherry-pick on top of it the changes you want to include in the pull-request.
  • Comment on Re: [OT] How to make a second github PR

Replies are listed 'Best First'.
Re^2: [OT] How to make a second github PR
by perlfan (Vicar) on Oct 25, 2020 at 20:23 UTC
    This ^^

    $ git log # get SHA-second-commit of your second commit $ git checkout master # whatever upstream "latest" is $ git checkout -b second-pr $ git cherry-pick <SHA-second-commit> $ git push origin second-pr # now get URL git prints to STDOUT and go to your uRL, make 2nd PR

    To remove that commit from your first branch, git rebase -i HEAD^^^, then delete the line of the second commit you just cherry picket, save and exit $EDITOR.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11123128]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2021-04-23 12:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?