1

this is related: How to open multiple pull requests on GitHub

I am trying to have multiple forks of someone else's repo. (I will have to work on multiple issues simultaneously and there will by several pull-requests in parallel, maybe there is another best practice do this without multiple forks?)

I am following this guide here: https://adrianshort.org/create-multiple-forks-of-a-github-repo/

But I get this error.

error: src refspec master does not match any.

when trying to push.

I suspect that I am on a completely wrong track anyway. There probably is a standard way to issue multiple pull-requests from just one fork?

sudo
  • 548
  • 1
  • 4
  • 16
Tobias Gassmann
  • 11,399
  • 15
  • 58
  • 92

2 Answers2

2

There is another best practice. That's what git branches are for. You are not limited to one pull request per fork. You aren't even limited to one pull request per branch.

Look it up

To update yourself against the original, you need to use git remote to add the original as another remote, and then use git fetch or git pull from the original, to fetch commits to the local environment (and perhaps push them to your fork).

Moar reading

Madara's Ghost
  • 172,118
  • 50
  • 264
  • 308
1

You can create multiple branches on a single fork. When you issue a pull request, specify which branch to pull.

BartBog
  • 1,889
  • 14
  • 28