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

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
Previous: Imran M YousufNext: kinley
Message 5 of 8 in “Newbie question”
  1. kinleySep 19, 2010
  2. Andrew KellerSep 19, 2010
  3. kinleySep 20, 2010
  4. Imran M YousufSep 20, 2010
  5. Kevin BallardSep 20, 2010
  6. kinleySep 20, 2010
  7. Jakub NarebskiSep 20, 2010
  8. Alex RiesenSep 20, 2010

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.