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.
Enabling repository maintainer permissions on existing pull requests. On GitHub, navigate to the main page of the upstream repository of your pull request. Under the upstream repository name, click Pull requests. In the list of pull requests, navigate to the pull request that you'd like to allow commits on.
Create pull requestGo to your repository on GitHub and you'll see a button “Compare & pull request” and click it. Please provide necessary details on what you've done (You can reference issues using “#”). Now submit the pull request. Congratulations!
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".
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.
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