* Private remote repo setup
@ 2009-11-24 19:04 Derek D
2009-11-25 6:37 ` Johannes Sixt
0 siblings, 1 reply; 2+ messages in thread
From: Derek D @ 2009-11-24 19:04 UTC (permalink / raw)
To: git
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
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Private remote repo setup
2009-11-24 19:04 Private remote repo setup Derek D
@ 2009-11-25 6:37 ` Johannes Sixt
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Sixt @ 2009-11-25 6:37 UTC (permalink / raw)
To: Derek D; +Cc: git
Derek D schrieb:
> 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.
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-25 6:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-24 19:04 Private remote repo setup Derek D
2009-11-25 6:37 ` Johannes Sixt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox