I've just cloned a repository, made some changes and now I'd like to send the author my patch. What should I do?
I cloned from github anonymously.
git push origin
?
I've just cloned a repository, made some changes and now I'd like to send the author my patch. What should I do?
I cloned from github anonymously.
git push origin
?
You need to commit to your local repository, then you can push.
But that's not going to work probably since you aren't logged in.
You should first fork http://help.github.com/forking/ and then send a pull-request: http://github.com/guides/pull-requests
You need to commit to your local repository with git commit
Create a fork in git (see hellvinz's answer). Push your local commit to your personal fork. Then send a pull-request to the author.
If you have a github account, too, read this: http://github.com/guides/pull-requests
Elif the upstream author can access your repository via ssh, http or the git protocol, write an email, that he can pull from there: git pull http://example.com/cool_stuff.git
Else you should do git format-patch -o patchdir && tar c patchdir.tar patchdir
and mail the patch to the upstream author.