Hi,

It is not just about the cloning process. I am trying to link my 
repositories. Either repositories created through gitlab or repositories 
manually created. The problem is that soft linking the repository does not 
work? Anyone experienced this already?

For example:
If I have an existing repository /var/git/testrepo.git and I want it on the 
home of git user account in /home/git/git-repositories.
I will do
    ln -s /var/git/testrepo.git /home/git/git-repositories/testrepo.git

After that if I clone with

   git clone git@githost:git-repositories/testrepo.git

The client prompts that it cannot find the repository.
But if you do
   git clone --bare file:///var/git/testrepo.git 
/home/git/git-repositories/testrepo.git

and peform git clone
 
    git clone git@githost:git-repositories/testrepo.git

and it works.

Is it really possible to use soft linking? Or I just missed something. I 
made git a member of apache and made the repositories group writable by 
apache. I have also set the repositories as a shared repository as 
suggested by some on the net.

Any ideas.

Thanks,

Austin



On Monday, April 27, 2015 at 11:10:41 PM UTC+8, Karen Carias wrote:
>
> Hello Austin. Cloning may be tricky, but here's a similar situation solved 
> http://stackoverflow.com/questions/6167905/git-clone-through-ssh
>
> Regards,
>
> Karen
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/aab22818-e704-4e25-851f-91b4b70bed01%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to