Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by Corion (Pope)
on Oct 24, 2020 at 08:43 UTC ( #11123112=note: print w/replies, xml ) Need Help??


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

With git, you can rewind time and find a different point to branch off your second branch.

I imagine you have some structure like this:

sysiphus/master perl/blead | | ... patches ... other patches | | | / +----------------/ <- here is where you branched off your change +s, for example SHA 12abcd |

The easiest way is to then check out the point where you diverged from blead</>, create a new branch and apply your changes to <c>win32/makefile.mk there:

git checkout 12abcd # check that we can build at this stage, make sure that you have all y +our changes out of tree, just in case: git clean -dfX && cd win32 && gmake test # Create the new branch here, and check it out git branch makefile-update git checkout makefile-update ... apply your changes # check that tests still pass git clean -dfX && cd win32 && gmake test git commit -m "voila" git push github

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-11-30 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?