Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by perlfan (Vicar)
on Oct 25, 2020 at 20:23 UTC ( #11123164=note: print w/replies, xml ) Need Help??


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

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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11123164]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (3)
As of 2022-05-21 04:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?