{"thread":{"id":"21740","subject":"Private remote repo setup","startedAt":"2009-11-24T19:04:16Z","lastAt":"2009-11-25T06:37:11Z","messageCount":2,"participants":["Derek D","Johannes Sixt"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"128256","messageId":"loom.20091124T195818-835@post.gmane.org","threadId":"21740","inReplyTo":null,"subject":"Private remote repo setup","fromName":"Derek D","fromEmail":"darek.dade@gmail.com","sentAt":"2009-11-24T19:04:16Z","receivedAt":"2009-11-24T19:04:16Z","isPatch":false,"sender":{"key":"darek.dade@gmail.com","avatar":null},"body":"Hi all, I am new to Git and I am getting quite frustrated with setting a repo \non my server so that people with Windows machines can ssh to it and contribute.\n\nThis is what I am doing:\nOn the server:\n#git --bare init\nInitialized empty Git repository in /opt/apps/git-test/\n\nIn tortoiseGIT I go to git clone, provide correct url:\nssh://user@domain/opt/apps/git-test/\ntortoiseGIT asks me for a password, I provide it, it's correct, the repository \ngets created on the local machine and...\n\nfatal: '/opt/apps/git-test': unable to chdir or not a git archive\nInitialized empty Git repository in C:/path/.git/\nfatal: The remote end hung up unexpectedly\nFailed\n\nWhat happened there?\n"},{"id":"128283","messageId":"4B0CD097.7090408@viscovery.net","threadId":"21740","inReplyTo":"loom.20091124T195818-835@post.gmane.org","subject":"Re: Private remote repo setup","fromName":"Johannes Sixt","fromEmail":"j.sixt@viscovery.net","sentAt":"2009-11-25T06:37:11Z","receivedAt":"2009-11-25T06:37:11Z","isPatch":false,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Derek D schrieb:\n> Hi all, I am new to Git and I am getting quite frustrated with setting a repo \n> on my server so that people with Windows machines can ssh to it and contribute.\n> \n> This is what I am doing:\n> On the server:\n> #git --bare init\n  ^\nThis looks like you were root when you ran the command.\n\n> Initialized empty Git repository in /opt/apps/git-test/\n> \n> In tortoiseGIT I go to git clone, provide correct url:\n> ssh://user@domain/opt/apps/git-test/\n> tortoiseGIT asks me for a password, I provide it, it's correct, the repository \n> gets created on the local machine and...\n> \n> fatal: '/opt/apps/git-test': unable to chdir or not a git archive\n> Initialized empty Git repository in C:/path/.git/\n> fatal: The remote end hung up unexpectedly\n> Failed\n> \n> What happened there?\n\nI guess that user does not have sufficient permissions to peek inside\n/opt/apps/git-test.\n\n-- Hannes\n"}]}