Error in pushing files to a git bare repo using ssh -
i trying push files git bare repo on ssh. these steps have performed. setup cygwin , sshd on windows machine. created bare git repo on windows server machine. client machine try push code server , not work. following error
bash: git-receive-pack: command not found fatal: not read remote repository. please make sure have correct access rights , repository exists.
so git repo named samplerepo on windows server, , on client machine adding origin using following command,
git remote add origin username@192.168.1.56:~/gitrepo/samplerepo
the command has same relative path of repo on server. have clue doing wrong.
Comments
Post a Comment