I'm trying to set up Git deployment to my CentOS 6.4 server on DigitalOcean. Here's my git config on my dev machine:
[remote "live"] url = [my url] fetch = +refs/heads/*:refs/remotes/live/* uploadpack = /usr/bin/git-upload-pack receivepack = /usr/bin/git-receive-pack
I get connected to the server when I push, but I receive an error even though I have specified the
bash: /usr/bin/git-receive-pack: No such file or directory fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
If I run,
which git-upload-pack on my server, I get
/usr/bin/git-upload-pack. I have read, write, and execute access for these binaries on the user I'm using for ssh authentication. Not sure where to go with this.