How do I use GIT in a remote server of a web host?
-
I used to work on my own and I'd just FTP the changes to the staging server to review the website. Now with another developer in the team, I want to know how to use the Git workflow effectively. Is it possible to install Git directly in the staging server of the dedicated or shared host so that we both can just push the files into the branch in the server just like pushing to GitHub? or is it also possible to sync GitHub account with the remote host?
-
Answer:
If you own the staging server which you could use as a source code repository, you could install GitLab and have your own Github like source repository on your server. But since you only have 2 developers in the project, I won't recommend this approach because of the overhead of installing and maintaining your source code repository server. I think making use of existing free alternatives would be a more convenient and cost effective approach for your current setup. If you don't mind the public accessing your project sources, Github will do. If you want it to be private, I recommend using http://Bitbucket.org which has free private repositories which you could share to up to 5 devs. You install git on your staging server. Then you just push your commits on Bitbucket and clone/pull the production codebase on your staging server.
Maki Tolentino at Quora Visit the source
Related Q & A:
- How do I use chat on a mac?Best solution by Yahoo! Answers
- How can I transfer video from a dvr box to a computer?Best solution by Yahoo! Answers
- How do I use the PSP universal remote?Best solution by lifehacker.com
- How do I go about getting a job working in a recording studio?Best solution by Yahoo! Answers
- How can I use recipient in a sentence?Best solution by sentence.yourdictionary.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.