ssh - How to use git remote add to push to an other computer? -


i'm trying push code remote server created new remote:

git remote add server ssh://nic@somehost.com/home/nic/workplace/project

i confirmed way supposed using: git remote -v

i proceed try push error:

[nic:15:48@project/]%git push -u server --all nic@somehost.com's password:  zsh:1: command not found: git-receive-pack fatal: not read remote repository.  please make sure have correct access rights , repository exists. zsh: exit 128   git push -u server --all 

i can ssh fine host using ssh nic@somehost.com , can navigate folder , create file there permissions correct. i've googled few hours , can't find what's wrong. maybe git hacker see stupid mistake in second :) i've tried various format remote address doesn't make difference.

thank help.

nicolas.


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -