Git: can I store known repositories along the repository?

Posted by 0x6adb015 on Stack Overflow See other posts from Stack Overflow or by 0x6adb015
Published on 2010-05-22T01:30:31Z Indexed on 2010/05/22 1:40 UTC
Read the original article Hit count: 242

Filed under:
|
|

I am setting up a Git repository. I know you can add repositories using git config --global, but is there a way that those known repositories gets cloned by users?

The goal would be that once the repo gets cloned by userz, they can push to other repos just by their aliases.

For example, I add git://X/mobility.git as X to the repo (somehow), a user clone it from git://Y, but then can do git push X without previously doing the git config.

How to do that?

© Stack Overflow or respective owner

Related posts about git

Related posts about remote