FG

git-receive-pack : command not found

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

Problem

I made a git repo on a local machine with "git init --bare" and added it as the remote origin on the project on my main computer with ssh: I was able to make a commit and push from my main computer to the other computer the day I created the repo, but today i tried and it didn't work. When I did "g…

Error Output

git add remote origin git@192.168.1.14:repoName.git

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: git-receive-pack : command not found

Low Risk

Ok, so I solved my problem. I looks like the probleme was ssh not reading .bash_profile What I had to do is write in .bashrc instead since ssh reads that file.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment