Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

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 ?

share|improve this question

1 Answer 1

You should look into git submodules. Essentially, it's a way to keep the latest commit of an external repository inside a certain repository.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.