Let’s say a repo named cool-stuff is on github.
I have a fork of cool-stuff and I have submitted a PR associated with my fork of cool-stuff which is waiting to be merged.

Now, there is another independent fork of cool-stuff,say, even-cooler-stuff which works on new features to introduce to cool-stuff. I would like to contribute to the even-cooler-stuff repo but github won’t let me since I already have a fork of cool-stuff.

Is there any way to do what I want like this or should I manually tell the author of even-cooler-stuff the changes I want to do?

  • spezOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    So, if I understand correctly,you mean :

    1. make a new repo and add even-cooler-stuff as remote.
    2. fetch changes from the remote even-cooler-stuff.
    3. make your changes and push to your repo

    now I should be able to make a pull request?

    • fkn@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago
      1. Use your existing fork of ‘cooler-stufff’

      Everything else is the same.

      Edit: you should actually be able to make a new repo and just file your three steps… Give it a try.

    • Lodra@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Apparently, someone else posted the same solution that I did while I typed it out. Sorry for the duplicate but at least weagree on the solution! A warning on this one though. You want to use a feature branch too. Otherwise you’ll mix your changes for cool-stuff with new changes for and from even-cooler-stuff. It may become more confusing and difficult to merge.