WebFaction
Community site: login faq

Hi, gang. I set up git as described at https://docs.webfaction.com/software/git.html and now have a repo named "foo".

I tried to push to it using:

git push http://username@domain/repos/foo.git

After asking for my password, I got the following error:

fatal: http://username@domain/repos/foo.git/info/refs?service=git-receive-pack not found: did you run git update-server-info on the server?

Any ideas? (Besides running git update-server-info: I tried that. I got no feedback, and the problem persisted.)

Thanks,

--Tom

asked 19 Dec '12, 13:11

tgeller
16124
accept rate: 50%

edited 19 Dec '12, 13:13


Does connecting with SSH work?

When you ran 'git update-server-info' did you change directory to the project directory?

permanent link

answered 19 Dec '12, 18:41

johns
5.3k312
accept rate: 23%

After lots of experimentation (including SSH attempts), I've gotten it working: I might have simply had the URL wrong. Thanks!

permanent link

answered 19 Dec '12, 21:20

tgeller
16124
accept rate: 50%

After some more experimentation: I think I might have used https instead of http.

(19 Dec '12, 21:29) tgeller

Glad to hear you solved it.

(19 Dec '12, 23:09) johns
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

question asked: 19 Dec '12, 13:11

question was seen: 7,652 times

last updated: 28 Dec '12, 02:51

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