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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:59:33+00:00 2026-05-30T17:59:33+00:00

We have currently just master branch. Our current workflow involves implementing the features locally,

  • 0

We have currently just master branch. Our current workflow involves implementing the features locally, committing to the repository and updating the test server, letting the client know about it and if he approves the changes we also update the production.

The thing is that now we use SVN and we update manually the specific folders and files that we have changed because otherwise we might get unwanted changes to production. With Git as our near-future repo that we use for one project already, what kind of Git workflow/branching would suit our need? The Git workflow needs to work well for this scenario:

  1. Do your work locally.
  2. Update test server and let client know.
  3. If client approved the changes, update the production as well.

Ideally we would want it to be possible to update the production to a specific tag all files and folders at once. It’s possible that test and production have several different changes from many developers and some of them need to be moved to production some not.

Initially I thought of having 3 branches master for production stable releases, test for the test server (to be merged to from dev) and dev where we code. I’m not sure if this fits well.

  • 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-30T17:59:34+00:00Added an answer on May 30, 2026 at 5:59 pm

    In my opinion, you wouldn’t necessarily need branches for each server – this can create (depending on your ignores and some other factors) some issues when cascading changes up and down. Instead, your various servers can just have a branch checked out and changes pulled to it. The server having a complete copy of the repository is very, very useful.

    Our ecosystem initially included branches for every server, production, staging, and development – syncing changes between the branches sometimes created merge issues that were very frustrating. We currently have all of the servers with the production branch checked out, and we’ve saved ourselves quite a few headaches. We check everything there before actually pulling on the production server – you can also switch branches if needed to test more drastic coding changes. There’s a lot of flexibility there.

    My suggestion would be to evaluate your workflow and see if you can leverage hooks to automate the process of updating your test/staging servers. We do this wonderfully with gitolite. Otherwise, your workflow is easily achieved, and you can put some polish on the concept to automate it further.

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

Sidebar

Related Questions

I have a git branch (called v4), that was made from master just yesterday.
Currently I just have a file like this that I manually parse into a
I currently have a UINavigationController based application that works just fine. I'd like to
I have an sql statement that currently is just returning all the end parent
I currently have a script that scrapes proxies off websites, but I'm just wondering
I'm using Intelligencia url rewriting currently but have just leased an IIS 7.5 server
I'm just a one-man software shop, and I currently have an MSDN subscription. It
I'm currently using the hilo id generator for my classes but have just been
I am currently creating an e-commerce site using C# ASP.NET MVC and have just
I have current a developed app which I am going to submit in just

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.