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:

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 04 Mar '11, 20:40

maebo's gravatar image

maebo
13
accept rate: 0%

edited 04 Mar '11, 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?

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

I open a ticket... thanks...

(04 Mar '11, 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:

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.

link

answered 05 Mar '11, 22:43

ryans's gravatar image

ryans ♦♦
3.8k1932
accept rate: 44%

edited 21 Jan '12, 21:11

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

thanks everybody

link

answered 05 Mar '11, 22:49

maebo's gravatar image

maebo
13
accept rate: 0%

Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×91
×75

Asked: 04 Mar '11, 20:40

Seen: 1,718 times

Last updated: 21 Jan '12, 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