git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Adding default remotes to a bare repository

From
NKNeal 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

Previous: Francis MoreauNext: Francis Moreau
Message 2 of 6 in “Adding default remotes to a bare repository”
  1. Francis MoreauFeb 9, 2011
  2. Neal KreitzingerFeb 10, 2011
  3. Francis MoreauFeb 10, 2011
  4. Neal KreitzingerFeb 10, 2011
  5. Francis MoreauFeb 11, 2011
  6. Neal KreitzingerFeb 11, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.