Pretty green with Github but the suggestions I've found so far aren't working.
I'm adding a new feature to a private Github repo. I was instructed to create a branch and submit a pull request.
I added the repo in Github's desktop client and created a new branch, new-feature
. I've made all the changes, but when I try to publish them to the branch I get:
Repository not found!
'new-feature' doesn’t seem to exist at https://github.com/username/main-name.git/ anymore. You may not have access, or it may have been deleted or renamed.
I can see in my browser that the repo is still at that address, but I suppose I don't have write access.
What's the correct process for getting this to work? Am I supposed to clone the repo into my own account (as a private repo) and submit a pull request from there? I've tried that but can find no way to link this to the main repo, perhaps I've cloned it incorrectly...
Create a fork of the project on GitHub. Don't worry, your work will be still private.
Push your work to your fork. There, you have write permission.
Create the Pull Request from the branch in your fork.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With