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

Re: New to git: sorry for obvious question.

From
PGPaul Gardiner <osronline@glidos.net>
Date
Feb 4, 2008, 14:17 UTC
Message-ID
<47A71E8F.6030104@glidos.net>
In-Reply-To
<47A70ECE.2040606@panasas.com>
Boaz Harrosh wrote:
Show 7 quoted lines
> On Mon, Feb 04 2008 at 12:50 +0200, Luciano Rocha <luciano@eurotux.com> wrote:
>> Also, git clone --bare doesn't set up the origin configuration, and I
>> have to do it by hand:
>>   git config remote.origin.url "$url"
>>   git config remote.origin.fetch "+refs/heads/*:refs/heads/*"
>>
> Better do "git-remote add URL" then manual addition as above.
Would that be git-remote add --mirror origin URL?
Previous: Boaz Harrosh
Message 8 of 8 in “New to git: sorry for obvious question.”
  1. Paul GardinerFeb 4, 2008
  2. Matthieu MoyFeb 4, 2008
  3. Paul GardinerFeb 4, 2008
  4. Boaz HarroshFeb 4, 2008
  5. Luciano RochaFeb 4, 2008
  6. Paul GardinerFeb 4, 2008
  7. Boaz HarroshFeb 4, 2008
  8. Paul GardinerFeb 4, 2008

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.