I've setted up a remote repository with git, connecting with ssh.
Create project - remote side.
When I create a project directly from server, then I easily clone (and push/pull operation) it client side.Create project - client side.
Doing:cd testProj
git init
git add remote git@:testProj
git add . && git commit -m "First" && git push origin master
I get error:
fatal: '/home/git/testProj.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.
How can I grant write-access to some user?
I've already pasted $(cat ~/.ssh/id_rsa.pub) on .ssh/authorized_keys server side.