WebFaction
Community site: login faq

Hi folks, I use this command to clone my repo from server to my pc: git clone http://user@git.mydomain.nl/webpanel.git

and I get theses errors: error: couldn't connect to host while accessing http://user@git.mydomain.nl/webpanel.git/info/refs fatal: HTTP request failed

but when I issue the very same command with sudo prefixed, it works fine: sudo git clone http://user@git.mydomain.nl/webpanel.git

could you please tell me what it is which needs administrative privileges and how can I enable a simple user to issue the command?

asked 06 Feb '11, 14:32

sepehr
111
accept rate: 0%


You can not access sudo on our platform. You are executing that command from your local system. Since that is the case we would have no way of discovering why your system needs sudo to use git. Something is mis-configured on your system, you should not need sudo or any special privileges to access git on the server.

permanent link

answered 06 Feb '11, 15:15

johns ♦♦
5.3k212
accept rate: 23%

edited 06 Feb '11, 15:15

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

Question tags:

×111
×8

question asked: 06 Feb '11, 14:32

question was seen: 5,407 times

last updated: 06 Feb '11, 15:15

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM