Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does Github detect mirrored repositories?

Tags:

git

github

Take a look at the Github repositories here:

https://github.com/apache/

They are marked as mirrors and even the source mirror URL is mentioned.

I want to do the same (Mirroring some SVN/Git/Mercurial repo on Github) but when I do it following a mirror howto like this or this then my repositories are not marked as mirrors. They appear as normal repositories instead.

So what's the trick here? Is this some special feature you have to pay for on Github?

like image 805
kayahr Avatar asked May 25 '12 14:05

kayahr


1 Answers

The "marked as mirror" thing is a github feature, not a git one. Presumably they have some internal framework that makes managing all their mirrors easier. You can't run code on their servers, so you can't manage a mirror in the same way.

like image 180
Andy Ross Avatar answered Nov 09 '22 17:11

Andy Ross