I'm trying to help out a fellow Git user on SE (Deploy a GIT project on OVH "Mutualisé" (shared)) but I can't post an answer because I'm apparently banned.
From what I see, I only posted one question on SE about Ruby, got my answer and validated it right. I don't see why couldn't I post answers.
Could you help me please? This is very frustrating because I won't post dump questions/answers.
Here's the answer I'd like to post:
Hi Zl3n,
I just tried my [own tutorial][1] (which you asked for help onto) to if it works and it still does. I believe there's an issue in the way you understand the tutorial or in your Windows Git configuration.
Here's what I did step by step:
Supposing you have a
git
folder in your OVH's server home dir. On my local machine:$ mkdir test.git $ cd test.git $ git init --bare $ cd .. $ scp -r test.git {user}@ssh.cluster{XXX}.ovh.net:git $ rm -rf test.git
If you already having issues here, there's definitely something wrong with your Git config. Then, let's use the newly created repo:
$ git clone {user}@ssh.cluster{XXX}.ovh.net:git/test.git
That's it.
I don't have any specific Git configuration that says whether to use HTTPS over SSH or such.
Keep in mind that, as far as I remember, the OVH server hasn't access to the outside world unless by FTP and SSH. You might want to verify this tho.
[1]: http://blog.eexit.net/git-creer-des-depots-prives-sur-du-mutualise/
We are no longer accepting answers from this account. See the Help Center to learn more.