WebFaction
Community site: login faq

Ok so i've not really used git to upload to the server before and i've been just manually uploading my application which is really inconvenient.

I have my local git repo with the correct commits and that's all I have done. My app where the git should push to is at: /home/(user)/webapps/(app)/app and i'm having trouble pushing to this.

My remote origin is set to this: ssh://(user)@web317.webfaction.com/home/(user)/webapps/(app)/app

When I run git push origin master it says everything up to date but when I look at the files it hasn't uploaded or changed anything.

Any suggestions?

asked 20 Aug '14, 12:29

wrux
113
accept rate: 0%

If you run "git remote -v" in your local repo, what is the output?

(20 Aug '14, 19:14) seanf

it's been a while since I did my git install, but I left this note for myself:

On local machine

cd foo_project
git init
git add *
git commit -m "My initial commit message"

On remote machine (Git remote repository)

cd /home/myUserName/git/
mkdir foo-project.git
cd foo-project.git/
git --bare init

On local machine

git remote add origin myUserName@myWebsite:/home/myUsername/git/foo_project.git
git push -u origin master
permanent link

answered 25 Aug '14, 18:09

sneezyyzeens
135
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

Question tags:

×111
×11

question asked: 20 Aug '14, 12:29

question was seen: 1,681 times

last updated: 25 Aug '14, 18:09

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