I cloned someone else's repo to my computer from github to try it out. In the end, I made some changes (locally) that I don't want to make in the original repo. Instead, I want to create my own project fork, apply the changes I made, and then click on my own repo. How to do it?
You can add your own repo as remote and just click there:
git remote add myFork git://myforkUrl/project.git git push myFork master
But if you want to work with github, you should think about a plug from the github interface.
Resources:
You need to change what points to the origin:
git remote rm origin git remote add origin git://newAddress/repo.git git push origin master
, , git://newAddress/repo.git