Re: What am I doing wrong? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Johannes Schindelin wrote:
Hi, On Fri, 16 May 2008, Paul Gardiner wrote: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 bolcksSomething tells me that this is not a copy/paste ;-)
The "big" bit you mean? :-) It just happened to be the name chosen for the mount of a large disc when added to the server.
$ cd epage $ git-fetch fatal: 'origin': unable to chdir or not a git archive fatal: The remote end hung up unexpectedlyIs there a "[remote "origin"]" section in .git/config? What Git version is this, anyway?
No, not in /home/paul/epage/.git/config. There's just a [core] section. I guess that's the problem. I thought git-clone set that up automatically.
It's v1.5.4 P. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Newbies FAQ] [Kernel List] [Site Home] [Free Online Dating] [Gcc Help] [IETF Annouce] [DCCP] [Netdev] [Networking] [Security] [V4L] [Bugtraq] [Free Online Dating] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Linux SCSI] [DDR & Rambus] [Linux Resources]