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

Re: Setting Up a GIT Repository Mirror

From
SBSanti Béjar <santi@agolina.net>
Date
Nov 6, 2008, 15:33 UTC
Message-ID
<adf1fd3d0811060733t28008f0cld1a3b3c5bf4ff4d8@mail.gmail.com>
In-Reply-To
<e97d51700811060708y5deb9e9ek4a36c012726b3a63@mail.gmail.com>
On Thu, Nov 6, 2008 at 4:08 PM, Yaser Raja <yrraja@gmail.com> wrote:
> Hi
[...]
> I came to know about --mirror option of git-clone and used it to make
> a bare repository replica of the MainRep. Now i am not sure how to
> keep it in sync with the MainRep.
$ git fetch
as it is bare you cannot merge, so you cannot pull.

HTH, Santi

Previous: Yaser RajaNext: Yaser Raja
Message 2 of 3 in “Setting Up a GIT Repository Mirror”
  1. Yaser RajaNov 6, 2008
  2. Santi BéjarNov 6, 2008
  3. Yaser RajaNov 7, 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.