Re: Newbie question
- From
Kevin Ballard <kevin@sb.org>
- Date
- Sep 20, 2010, 06:55 UTC
- Message-ID
- <F47832A2-C25F-470A-81DE-9670F13DD4C2@sb.org>
- In-Reply-To
- <1284943806785-5548842.post@n2.nabble.com>
It sounds like git-upload-pack is not in the PATH of your non-interactive shell. Assuming git is installed on the remote host, you should ssh in to it and figure out where git is installed (run `git --exec-path`), then run your command like so
git clone -u /path/to/libexec/git-core/git-upload-pack ssh://user@host/~/GPUProject/Histogram
In my case that path is /usr/local/libexec/git-core/git-upload-pack.
-Kevin Ballard
On Sep 19, 2010, at 5:50 PM, kinley wrote:
Show 23 quoted lines
> > Thanks for your help. > > Actually now I tried doing this > > git clone ssh://user@host/~/GPUProject/Histogram > > but getting > > bash: git-upload-pack: command not found > fatal: The remote end hung up unexpectedly > > I tried several ways of specifying the path of the URL assuming that this > could be a path issue but every time it gives the same error. > > Thanks once again. > -- > View this message in context: http://git.661346.n2.nabble.com/Newbie-question-tp5548737p5548842.html > Sent from the git mailing list archive at Nabble.com. > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html