ssh - return code 22, fatal: git-http-push-failed -
i made own git repo on server using git init --bare. added files there , cloned repo myserver git clone http://www.example.com/mygit/repo , cloned perfectly. want push directory git push origin master returning code 22. added ssh public key of pc http://www.example.com/mygit/repo/.ssh/authorized_keys still can't push repo.
try add config file in bare repository:
[http] receivepack = true
Comments
Post a Comment