mirroring - Creating an official github mirror -


how create github mirror external git repository, such appears "real mirror", e.g., in https://github.com/mirrors?

so far, set mirror using:

cd /path/to/bare/repository git remote add --mirror github git@github.com:user/repo.git 

and configure post receive hook git push --quiet github. way, however, github not recognize mirror.

any ideas how github way, such "mirrorred from" appears underneath repostiory name?

based on communicating github's support team, found github offers no direct mechanism user mirror repositories in fashion.

however, 1 can ask github install service repositories part of organization. github configures existing repository such mirror , pulls in interval function of number of overall mirrors have.

edit: stuart points out, github no longer accepts requests mirroring arbitrary repositories. remaining option solution posted in question, i.e., creating post-receive hook automatically push github repository.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -