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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -