Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2022-08-12 18:23 GMT
Find Nodes?
    Voting Booth?

    No recent polls found