Re: Adding default remotes to a bare repository
- From
- Francis Moreau <francis.moro@gmail.com>
- Date
- Feb 10, 2011, 21:24 UTC
- Message-ID
- <AANLkTimg0YZ7eQ=hsxqSYJPipahLpiqZqSVkFz25=A2k@mail.gmail.com>
- In-Reply-To
- <4D5437C4.6000401@gmail.com>
On Thu, Feb 10, 2011 at 8:08 PM, Neal Kreitzinger <nkreitzinger@gmail.com> wrote:
Show 6 quoted lines
> > 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. >
Sure.
But I'm wondering why cloning operation can't import the remote branches of the cloned repository.
Actually I'm wondering the same thing for hooks. If a repository setup some hooks, can't these hooks be installed by default in the new repositories ?
-- Francis