I am attempting to setup a GIT environment to achieve the following:
- Repo where my code is stored (setup and working using Gitorious)
- A production and staging environment on a server (server setup)
- Local repo on my computer (working)
My production and staging server is a cpanel server and I followed this guys suggestions set it up.
All seems fine however I keep getting the following error:
stdin: is not a tty bash: git-receive-pack: command not found fatal: Could not read from remote repository.
The first line I know is just a bash thing to be ignored. The second issue I have followed the suggestions in this post: Pushing and existing project into bare repo and I am stumped.
- What is a "git-receive-pack"
- Where is it located?
- If it is not located anywhere, how do I get my hands on it?
If I run ssh user@0.0.0.0 which git-receive-pack, this returns: "no git-receive-pack in ... ", and when I run the same command from shell, I get the same answer.
Do I grep the server to find the file??
Appreciate any help.