Search code examples
githubclonefork

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


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?


Solution

  • 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.