FG

EGit fails with "git-upload-pack: command not found"

Fresh3 days ago
Mar 15, 20266515 views
Confidence Score0%
0%

Problem

I know very little about git or EGit. I installed EGit into Eclipse Indigo. I got a git path from someone who has some code in that repo. I tried to clone the repo. It failed with the following (name, host, and path elided): I then logged onto the box with Putty, using the same credentials and ran …

Error Output

Cannot list the available branches.
Reason:
myname@myhost:mypath: cannot execute:
git-upload-pack 'mypath'
bash: git-upload-pack: command not found

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: EGit fails with "git-upload-pack: command not found"

Low Risk

TL;DR – try to add the following to on your remote machine: The issue probably is that the for your PuTTy connection and the Git connection is different. So whenever you login over PuTTy, is executed and sets your path correctly, whereas with Git, i…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment