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

Re: bare repositories: packing and fetching

From
Junio C Hamano <junkio@cox.net>
Date
Sep 15, 2006, 20:44 UTC
Message-ID
<7vzmd0g8rk.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<450AEB37.3090909@shadowen.org>
Andy Whitcroft <apw@shadowen.org> writes:
Show 7 quoted lines
> I was trying to make a bare repo to stage linus' main tree.  As this was
> only to be a local tree for others to pull from I thought that I could
> clone his tree 'bare' and then fetch into that on a regular basis.  That
> does not appear to be the case?  Both git fetch and git repack say 'not
> a git repository .git' and bail.
>
> Is this expected behaviour.  Do I have to have all the checked out files?
cd $that_repository && GIT_DIR=. git fetch
Previous: Johannes Schindelin
Message 4 of 4 in “bare repositories: packing and fetching”
  1. Andy WhitcroftSep 15, 2006
  2. Jakub NarebskiSep 15, 2006
  3. Johannes SchindelinSep 15, 2006
  4. Junio C HamanoSep 15, 2006

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.