WebFaction
Community site: login faq

I wanted to created a remote connection via Git in order to push my files straight to the server. Likewise:

http://toroid.org/ams/git-website-howto

I created /git/htdocs.git/ repo in the homeroot folder. But whenever I use any of the following calls:

$ git remote add web ssh://maciejsitko.webfactional.com/git/choqlet.git
$ git push web +master:refs/heads/master

or

$ git remote add web ssh://maciejsitko@web412.webfaction.com/git/htdocs.git
$ git push web +master:refs/heads/master

They don't seem to find a proper folder, or they don't seem to work at all... Im guessing its the wrong SSH path that I'm putting? what's the right one then? Its not in the docs.

Another thing, is that git hook configured on the right path considering the fact that my static php app is in webapps/htdocs?

#!/bin/sh
GIT_WORK_TREE=~/webapps/htdocs git checkout -f

asked 01 Dec '14, 20:46

Maciej Sitko
13
accept rate: 0%


Try using the complete path,

git remote add web ssh://maciejsitko.webfactional.com:/home/you/webapps/git/choqlet.git
permanent link

answered 02 Dec '14, 00:40

johns
5.4k312
accept rate: 23%

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:

×262
×111

question asked: 01 Dec '14, 20:46

question was seen: 1,485 times

last updated: 02 Dec '14, 00:40

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