Skip to content

Instantly share code, notes, and snippets.

@qutek
Created February 20, 2015 11:13
Show Gist options
  • Save qutek/c5c87b0ba33673125e12 to your computer and use it in GitHub Desktop.
Save qutek/c5c87b0ba33673125e12 to your computer and use it in GitHub Desktop.
[Server][Git] Fixing git-receive-pack: command not found
## Run on server
alias git-receive-pack="/usr/local/cpanel/3rdparty/bin/git-receive-pack"
## I still need to add it to my ~/.bashrc
export PATH=$PATH:"/usr/local/cpanel/3rdparty/bin"
## Also, on a side note the whole stdin: is not a TTY error can be fixed by removing the /home/git/.bashrc file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment