Forums

Git push error

I can't seem to get the git push method described at https://blog.pythonanywhere.com/87/ to work properly. Specifically, my post-receive hook won't run. Any idea why?

I get the following error:

Counting objects: 3, done. Writing objects: 100% (3/3), 224 bytes | 37.00 KiB/s, done. Total 3 (delta 0), reused 0 (delta 0) remote: error: cannot run hooks/post-receive: No such file or directory To ssh.pythonanywhere.com:/home/petemistretta/bare-repos/mysite.git * [new branch] master -> master Branch 'master' set up to track remote branch 'master' from 'web'.

Do you have that file? /home/petemistretta/bare-repos/mysite.git on your pythonanywhere account?