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 6231583
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:57:40+00:00 2026-05-24T09:57:40+00:00

I am trying to figure out the best setup for GIT, with regards to

  • 0

I am trying to figure out the best setup for GIT, with regards to having a local development server and a production server, or skipping the local development server. I visualize things below:
enter image description here

I am thinking of these two options after implementing GIT:
enter image description here

enter image description here

What is best? I feel we can skip steps by syncing right away with the production server, but it feels a bit dangerous not having a development server. But well, at the end every programmer basically has a dev server so that should replace this, or not…??

BTW: we create websites only; using PHP/MySQL, and only custom-made solutions.

  • 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-24T09:57:41+00:00Added an answer on May 24, 2026 at 9:57 am

    Yes! You are right. You can skip steps by syncing right away with production server. Git is a version control system that help you to keep track your code.

    Based on your question I noticed, your problem is that you are concerned with the code are being polluted in your production code. There is a branching system in GIT such that you can have separate two different branches or more, say, one is development branch and one is production branch on the GIT server. Once developer make some changes , they can push the code in development branch. Once, you have done enough testing on development branch, you can merge your code into your production branch and finally use the code in production branch and roll out to your specific client.

    In addition, as there is only one git server storing your code. It is better to make a backup copy everyday. Then everything should be alright and can solve your problem.

    Go back to your question, only 1 GIT server is enough
    Hope it helps you.

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

Sidebar

Related Questions

I'm trying to figure out the best lower-budget home office development hardware setup. My
I'm trying to figure out the best practice to setup hierarchy data that i
I'm trying to figure out the best way to setup some tables in my
I've been trying to figure out the best way to handle local database access
I'm trying to figure out the best way to setup my database and models
Trying to figure out the best way to set up collection lists for users
Trying to figure out the best way to do this: Should I do something
I'm trying to figure out the best way to determine whether I'm in the
I am trying to figure out the best way to model a spreadsheet (from
I'm trying to figure out the best way to insert a record into a

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.