Reputation: 221
I am new to git and github.
Suppose I have a public github repository, and I want to give my boss information regarding github pull request so that he can run the same project on his local pc and also do a code review. Please let me know what I need to do? Is there some setup I need to do on my github public repo or run some commands? I am able to succeffuly create a public repo and I am able to get a zip file of the whole project and able to test it locally. But need to do this with pull request as it is required by my boss.
Upvotes: 14
Views: 8851
Reputation: 1218
I think actually the answer for what you're trying to do is a 'git clone' of your github repository - the command for that is given to you on github above latest commits when you open that repository. Get your boss to run clone on his machine, then build/whatever in the usual way.
Github pull requests are just a notification that you've changed something to get someone else on github (perhaps the project you initially forked, perhaps one that has forked you) to do a pull and review/merge/whatever.
Upvotes: 2
Reputation: 16122
GitHub pull requests can only be sent if you have forked the original repository into your own account.
The most common workflow appears to be:
Create a new branch for the modifications. (For example, featureX
...)
Do your changes, push them into the new branch.
Go to your fork's page in GitHub, switch to the new branch, click on "Pull request".
Upvotes: 22