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

  • Home
  • SEARCH
  • 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 666953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T23:52:31+00:00 2026-05-13T23:52:31+00:00

We have a web app that we update and release almost daily. We use

  • 0

We have a web app that we update and release almost daily. We use git as our VCS, and our current branching strategy is very simple and broken: we have a master branch and we check changes that we ‘feel good about’ into it. This works, but only until we check in a breaking change.

Does anyone have a favorite git branch strategy for small teams which meets the following requirements:

  1. Works well for teams of 2 to 3 developers
  2. Lightweight, and not too much process
  3. Allows devs to isolate work on bug fixes and larger features with ease
  4. Allows us to keep a stable branch (for those ‘oh crap’ moments when we have to get our production servers working)

Ideally, I’d love to see your step-by-step process for a dev working on a new bug

  • 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-13T23:52:31+00:00Added an answer on May 13, 2026 at 11:52 pm

    You might benefit from the workflow Scott Chacon describes in Pro Git. In this workflow, you have two branches that always exist, master and develop.

    master represents the most stable version of your project and you only ever deploy to production from this branch.

    develop contains changes that are in progress and may not necessarily be ready for production.

    From the develop branch, you create topic branches to work on individual features and fixes. Once your feature/fix is ready to go, you merge it into develop, at which point you can test how it interacts with other topic branches that your coworkers have merged in. Once develop is in a stable state, merge it into master. It should always be safe to deploy to production from master.

    Scott describes these long-running branches as “silos” of code, where code in a less stable branch will eventually “graduate” to one considered more stable after testing and general approval by your team.

    Step by step, your workflow under this model might look like this:

    1. You need to fix a bug.
    2. Create a branch called myfix that is based on the develop branch.
    3. Work on the bug in this topic branch until it is fixed.
    4. Merge myfix into develop. Run tests.
    5. You discover your fix conflicts with another topic branch hisfix that your coworker merged into develop while you were working on your fix.
    6. Make more changes in the myfix branch to deal with these conflicts.
    7. Merge myfix into develop and run tests again.
    8. Everything works fine. Merge develop into master.
    9. Deploy to production from master any time, because you know it’s stable.

    For more details on this workflow, check out the Branching Workflows chapter in Pro Git.

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

Sidebar

Related Questions

Say, for example, you are caching data within your ASP.NET web app that isn't
I have a DB containing small news and a web app displaying these. I
Anyone have any good tips on handling differences in web.config settings between environments? I've
i want to force reset to NSUserDefault whenever user update my app. why i
In my Django web app, an event's status changes from 'upcoming' to 'completed' at
I have a Rails 2.3.5 project that uses the localization features of Rails. I
I am trying to change my web-app's JDBC code to JPA using Hibernate as
I am using Spring+Hibernate for an operation which requires creating and updating literally hundreds
I'm pretty new to Servlets and JSP and to using databases. At the moment
I need to detect if the is no user activity in the system (e.g.

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.