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

Re: Private remote repo setup

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 25, 2009, 06:37 UTC
Message-ID
<4B0CD097.7090408@viscovery.net>
In-Reply-To
<loom.20091124T195818-835@post.gmane.org>
Derek D schrieb:
Show 6 quoted lines
> Hi all, I am new to Git and I am getting quite frustrated with setting a repo 
> on my server so that people with Windows machines can ssh to it and contribute.
> 
> This is what I am doing:
> On the server:
> #git --bare init
  ^
This looks like you were root when you ran the command.
Show 13 quoted lines
> Initialized empty Git repository in /opt/apps/git-test/
> 
> In tortoiseGIT I go to git clone, provide correct url:
> ssh://user@domain/opt/apps/git-test/
> tortoiseGIT asks me for a password, I provide it, it's correct, the repository 
> gets created on the local machine and...
> 
> fatal: '/opt/apps/git-test': unable to chdir or not a git archive
> Initialized empty Git repository in C:/path/.git/
> fatal: The remote end hung up unexpectedly
> Failed
> 
> What happened there?

I guess that user does not have sufficient permissions to peek inside /opt/apps/git-test.

-- Hannes
Previous: Derek D
Message 2 of 2 in “Private remote repo setup”
  1. Derek DNov 24, 2009
  2. Johannes SixtNov 25, 2009

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.