login community faq

Hello, I installed git with this step http://docs.webfaction.com/software/git.html?highlight=uninstall%20git#installing-git

but I can't clone a repo:.

says that:

1
2
3
4
5
pahko ~/Desktop $ git clone maebo@maebo.webfactional.com:webapps/git/repos/BienesMuebles.git
Cloning into BienesMuebles...
maebo@maebo.webfactional.com's password: 
bash: git-upload-pack: command not found
fatal: The remote end hung up unexpectedly

can anybody help how to fix that??

thanks...

asked Mar 04 '11 at 20:40

maebo's gravatar image

maebo
12

edited Mar 04 '11 at 20:45

Hi,

This appears to be a path issue as bash is not able to find git-upload-pack as indicated in the error above. It may be a issue with your git installation.

Further investigation may require us to take a closer look at your account.

Could you please file a support ticket for it so that we can take a better look and help you in a better way?

(Mar 04 '11 at 21:01) neeravk ♦♦ neeravk's gravatar image

I open a ticket... thanks...

(Mar 04 '11 at 21:03) maebo maebo's gravatar image

This error usually indicates that the path to git is not present in your ~/.bashrc file's PATH variable. This is discussed in our documentation on Cloning a Repository:

http://docs.webfaction.com/software/git.html#cloning-a-repository

Specifically, something like this is usually necessary to clone over SSH:

1
echo 'export PATH=$PATH:$HOME/webapps/app/bin' >> ~/.bashrc

Edit: now that git is deployed to all servers, this should no longer be necessary. It used to be needed back when the git installer would actually compile and install git rather than just gitweb and repositories.

answered Mar 05 '11 at 22:43

ryans's gravatar image

ryans ♦♦
28411420

edited Jan 21 '12 at 21:11

solved by the ticket.... the error was the permissions...

thanks everybody

answered Mar 05 '11 at 22:49

maebo's gravatar image

maebo
12

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×80
×56

Asked: Mar 04 '11 at 20:40

Seen: 1,297 times

Last updated: Jan 21 '12 at 21:11

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited