I am using Coda to create a web application using CodeIgniter. I am hosting it live on hostgator and testing it as well. I want to know if there is a way to use some kind of Revision contorl or backup system like Github that would allow me to save my files and keep them updated without having to actually do the folder copy pasting.
Asked
Active
Viewed 464 times
1 Answers
1
You can set up a remote repo at hostgator, and push changes to the remote using git, that doesn't require github, you can just do it from a repo locally on your machine.

ebaxt
- 8,287
- 1
- 34
- 36
-
Is it a feasible technique ebaxt? – Ali Gajani Mar 04 '12 at 07:27
-
Sure, it's how hosts like heroku let's you deploy your app. Having said that, heroku's setup is streamlined for this sort of thing... – ebaxt Mar 04 '12 at 07:45
-
I don't think heroku hosts plain PHP apps (they host facebook apps written in PHP tho.). What I meant was pushing to a production environment using Git is a feasible technique that is very useful and productive. I did a quick search for providers that support PHP and found http://pagodabox.com/, have a look. If that doesn't fit your need, I'm sure you can create some "homemade" solution. – ebaxt Mar 04 '12 at 08:17
-
thanks but il use a home made one dont know how to push to github while the files are already on a web host:S – Ali Gajani Mar 04 '12 at 08:24