GitHub related question

GitHub related question


So long story short, I have been working on a coding challenge forked from another repo as part of a technical interview.
When I’m finished my instructions are to put up a pull request in my forked repo not within the main repo. So when I finished I opened a new pull request in my forked repo, but I was told that wasn’t what I was supposed to do. So I’m left with the question, what does (not within the main repo) mean?
Any help would be appreciated, thanks!


Do you think there’s a chance they meant not on the Master branch? That’s fairly common. Otherwise I’m not sure what that could mean.


Thanks for the reply! The master branch is their only branch. I’m starting to think that maybe they want me to put a pull request as if I were going to merge theirs into my forked repo, instead of trying to merge mine into theirs, since they only have once branch.


It could be that they wanted you to create a new branch in your forked repo.
Did the have you clone the repo to your local machine and push the changes with Git back up to GitHub?
A new branch on the local machine would be as simple as
git branch my_new_feature master
git checkout my_new_feature
And then push the new branch up with
git push origin my_new_feature
Make whatever changes were required (and push the commits)
And then do a pull request to merge the new branch into the master repo.