From: Junio C Hamano Date: Wed, 19 Apr 2006 06:53:38 GMT Subject: Re: cg-clone produces "___" file and no working tree Message-ID: <7vd5feawel.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20060419053640.GA16334@tumblerings.org> Zack Brown writes: > What is going on? I'm completely unable to clone a repository. I have no idea how cg-* is broken, so I'll let Pasky answer that, but I suspect your git installation is broken. > If I try > "git clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/git.git", > I get this error: "git: 'clone' is not a git-command", and it prints a usage > page, but "clone" is listed on that usage page. That sounds intersting. Although rsync is deprecated for a long time and git:// is the preferred transport, I do not get "is not a git-command" error. Are you installing things correctly? For example, as the first paragraph of INSTALL says, if you override prefix= from the make command line, you need to do so consistently when you build and when you install. What do these command say? $ git --exec-path $ ls -l "`git --exec-path`/git-clone"