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

Re: What am I doing wrong?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
May 16, 2008, 13:40 UTC
Message-ID
<alpine.DEB.1.00.0805161439100.30431@racer>
In-Reply-To
<482D8BEB.6070706@laser-point.co.uk>
Hi,
On Fri, 16 May 2008, Paul Gardiner wrote:
Show 27 quoted lines
> Michael J Gruber wrote:
> > Paul Gardiner venit, vidit, dixit 16.05.2008 14:32:
> > > Michael J Gruber wrote:
> > > > Paul Gardiner venit, vidit, dixit 16.05.2008 13:25:
> > > > > I create the initial repository with
> > > > >
> > > > >      git-clone /<full-path>/<name>.git/ <folder>
> > > > >
> > > > > That works fine, but then I can't fetch. git-fetch gives the error
> > > > > "fatal: 'origin': unable to chdir or not a git archive"
> > > > > "fatal: The remote end hung up unexpectedly"
> > > > >
> > > > > P.
> > > > Are you trying to clone a bare repository?
> > > > Or is your repo maybe at /<full-path>/<name> with a .git subdir?
> > >
> > > Yes, a bare repository.
> > 
> > Then, maybe the full list of command lines (including cd and git-fetch)
> > would be helpful in order to track this down.
> 
> Ok, sorry, thought it was probable something really obvious. Here's the
> sequence (using git version 1.5.4).
> 
> $ git-clone /big/git/paul.git/ epage
> Initialized empty Git repository in /home/paul/epage/.git/
> 719749 bolcks
Something tells me that this is not a copy/paste ;-)
> $ cd epage
> $ git-fetch
> fatal: 'origin': unable to chdir or not a git archive
> fatal: The remote end hung up unexpectedly

Is there a "[remote "origin"]" section in .git/config? What Git version is this, anyway?

Ciao, Dscho

Previous: Paul GardinerNext: Michael J Gruber
Message 6 of 13 in “What am I doing wrong?”
  1. Paul GardinerMay 16, 2008
  2. Michael J GruberMay 16, 2008
  3. Paul GardinerMay 16, 2008
  4. Michael J GruberMay 16, 2008
  5. Paul GardinerMay 16, 2008
  6. Johannes SchindelinMay 16, 2008
  7. Michael J GruberMay 16, 2008
  8. Paul GardinerMay 16, 2008
  9. Paul GardinerMay 16, 2008
  10. Kevin BallardMay 16, 2008
  11. Paul GardinerMay 16, 2008
  12. Johannes SchindelinMay 16, 2008
  13. Paul GardinerMay 16, 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.