Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Github, how do I commit my changes to a clone and submit a pull request?

Tags:

clone

github

fork

I cloned a Github repo, made some changes, now I need to commit them and send a pull request. How do I turn my clone into a fork?

like image 748
mcintyre321 Avatar asked Sep 08 '11 18:09

mcintyre321


People also ask

How do you commit changes to a pull request?

To make changes to an existing pull request, make the changes to your local branch, add a new commit with those changes, and push those to your fork. GitHub will automatically update the pull request.


1 Answers

Go to the github repo, then click "fork". Now you have a fork :) Now you need to push your changes to your fork and send the pull request via github

git remote add myfork [email protected]:MyUsername/MyForkRepository.git
git push myfork master

From there you can send the pull request very easy.

like image 120
KingCrunch Avatar answered Oct 04 '22 03:10

KingCrunch