2011-11-05 Macで git push したら git-receive-pack: command not found のエラーが出たときの対処法 Macでインストーラー版gitをインストールした場合、git push コマンドを実行すると、こんなエラーが出る bash: line1: command not found: git-receive-pack fatal: The remote end hung up unexpectedly パスが通ってないのが原因なので、.bashrc にこの1行を追加すればOK export PATH=$PATH:/usr/local/bin