• 1
name Punditsdkoslkdosdkoskdo

How to convert a readonly git clone from github to a forked one

From time to time I encounter this issue.

Let's say that I did following to read the source code of rails because I am running into some issues.

git clone git://

During the research I tested something and now I have a fix I would like rails core team to take a look at. How do I push my changes to a forked version of rails.

Remember when I cloned, I did not clone a forked version but a read-only version.

It is not that I am opposed to forking. It is just that sometimes I think I am just going to browse then I want to add something.