I created a project and uploaded it on a centos 6 server. I installed git on server. Then I create a repository on somewhere in server (in directory public_html) with this command
git init myproject.git --bare
Then i change permission of git directory with this command
chown -R git:git myproject.git
In my local machine I want to clone project:
ssh://domain.com/myproject.git
but I get this error:
fatal: '/myproject.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.