Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1093403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:49:20+00:00 2026-05-16T23:49:20+00:00

I am about to take the plunge and start using Git for actual projects

  • 0

I am about to take the plunge and start using Git for actual projects that others use!

So far I’ve used Git on some basic projects and played around with Github for some university projects, but now me and some others will be working on multiple projects. As a result we’ll be hosting Git on a remote server and to be honest it’d be great if we could just get started on a tried-and-tested method of using Git for our needs.

At first we thought of hosting the Git master on the server, a la…

Site: /home/vhosts/domain/htdocs

Git: /home/git/domain.git

This sounds like it’d work, but I’m worried about hosting a repository on the server the main website is running from in case it goes down or if we lose data, as we’d be left with our local copies. I’d like to have it all running on a development server, but some think that it is overkill and some thing that logistically it could be a nightmare.

To be fair, we’re all recent graduates and have only basic experience with source control on hobby projects and solely on final-year CS projects, with the popular option at that time being subversion. One of the reasons we chose Git was through word-of-mouth from other developers and through recommendations of friends who use it extensively at work.

To clarify, we will be working on multiple, hosted projects and would like to deploy using Git. What we’re stuck on is on the best way to handle this. There will be around three of us working on separate machines at any one time with a live server and (hopefully) a development server to test stuff on.

For those who are dealing primarily with web applications, how do you use Git to deploy your working code to the server? Are we barking up the wrong tree for our needs? Any tips you can give a Git novice?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T23:49:21+00:00Added an answer on May 16, 2026 at 11:49 pm

    I actually wrote a blog post about the procedure I use to deploy my website from a local computer to a staging server and then the live site, since it’s somewhat complicated. The writeup might be useful to you if you want to use a two-tier distribution architecture (staging server and then live server). If you don’t want to use a staging server, you can configure your local computer to push directly to the live site, and that’s way simpler. Of course that setup would still allow you to test on your local computer.

    Other than that, I would echo what Mark Trapp said about the decentralized nature of git. There’s no problem with putting your central repository on the web server, since your local copy contains everything you need to keep working and to reconstruct another central repository if necessary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some javascript functions that take about 1 to 3 seconds. (some loops
Using Sql Server 2005. I have a long running update that may take about
i am using c++ and i have some trouble about pointers i know that
I'm about to take the plunge and build a PC, and it will probably
We are building a REST service that will take about 5 minutes to execute.
I created an activeX control to perform some actions, which take about 1 minute.
I'd like the community's take on some thoughts I've had about Linq to Sql
I'm running a loop in javascript that should take about a minute to complete.
So I'm making something in openGL using SDL. I'm about to take a long
This report used to take about 16 seconds when there were 8000 rows to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.