Re: Adding default remotes to a bare repository
- From
- Neal Kreitzinger <nkreitzinger@gmail.com>
- Date
- Feb 10, 2011, 19:08 UTC
- Message-ID
- <4D5437C4.6000401@gmail.com>
- In-Reply-To
- <AANLkTikVtSFs+qRiWJwxre8urOJs7q2HXBGPZkiTmn=i@mail.gmail.com>
On 2/9/2011 10:53 AM, Francis Moreau wrote:
Show 8 quoted lines
> Hi, > > Is it possible to add some default remotes for a given repository ? > > That is when cloning the repository, I can use the default remotes in > the cloned repository. > > Thanks
You could write a script that does the clone and then adds the remotes. We have a "menu" written in bash scripts and it does the clones and adds the default remotes automatically. So instead of just doing "git clone", people would run that script to do the clone and add the remotes.
v/r, Neal