IssueRaiser

Also, of note, is that currently if you "fork" using git and push it into a github repository, there's no way to re-attach/hint gith...

Also, of note, is that currently if you "fork" using git and push it into a github repository, there's no way to re-attach/hint github about the original ancestor. The problem is compounded by the fact that doing anything related to the ancestor, such as pull requests, or even just diffs, will not be possible. I submitted a feature request to the github folks years ago, but nothing has really happened (I was just suggested to delete and fork the repository again). Not that it's hard: you could determine the ancestor and different lineages just using the hashes of the commits upon the first push to github. You could also do it completely offline, it wouldn't matter. There's also quite a number of forks available on github which aren't really visible because of that. I know that for some of my own projects and smaller projects that I checked, a code search would actually reveal many non-linked repositories. And I also know why: I often don't fork on github (why would I if I know nothing about the project yet?), I just shallow clone locally. Forking on github doesn't serve any purpose until you actually change the code, which oftentimes has already been done locally.

Posted by tenfingers on Jun 26, 2015, 8:44 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,500 issues0 comments

hackernews (Software)

Also, of note, is that currently if you "fork" using git and push it into a github repository, there's no way to re-attach/hint gith...

tenfingersJun 26, 2015, 8:44 AM

Also, of note, is that currently if you "fork" using git and push it into a github repository, there's no way to re-attach/hint github about the original ancestor. The problem is compounded by the fact that doing anything related to the ancestor, such as pull requests, or even just diffs, will not be possible. I submitted a feature request to the github folks years ago, but nothing has really happened (I was just suggested to delete and fork the repository again). Not that it's hard: you could determine the ancestor and different lineages just using the hashes of the commits upon the first push to github. You could also do it completely offline, it wouldn't matter. There's also quite a number of forks available on github which aren't really visible because of that. I know that for some of my own projects and smaller projects that I checked, a code search would actually reveal many non-linked repositories. And I also know why: I often don't fork on github (why would I if I know nothing about the project yet?), I just shallow clone locally. Forking on github doesn't serve any purpose until you actually change the code, which oftentimes has already been done locally.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue