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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:34:49+00:00 2026-05-12T17:34:49+00:00

After my first question , id like to have a confirmation about the best

  • 0

After my first question, id like to have a confirmation about the best git workflow in my case.

I have a single django project, hosted at github, and differents clones with each his own branch : customerA, customerB, demo… (think websites)

Branches share the same core but have differents data and settings (these are in gitignore)

When i work on CustomerA branch, how should i replicate some bug corrections to the other deployments ?

When i create a new general feature, i create a special branch, then merge it into my master. Then, to deploy on the ‘clients’, i merge the master branch into the customer branch. Is it the right way ? or should i rebase ?

# from customerA branch
git fetch origin master
git merge origin master

Also, i have created a remote branch for each customer so i can backup the customers branches to github.

It looks a very classic problem but i guess i dont use git the right way

Thanks.

Ju.

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

    I would have a single project repo at a well-known place containing a master branch with the common code, and branches for specific deployments (e.g. customer/A customer/B demo).

    Then I would have checkouts from each of these branches for each customer, for the demo server, and so on. You can let these pull automatically from their respective branch with a commit hook on the single project repo.

    Every developer would have their local copy of the project repo, do local work, and then push stuff back to the single project repo.

    The challenge will be to maintain the branches diverging from master and doing the regular merges so the diversion do not grow over time.

    I have seen this solution describe somewhere in much more detail somewhere on the web, but I could not find it quickly again. Some blog post on using git for a staging and production web server, IIRC.

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

Sidebar

Related Questions

though I have visited this site many times, this is my first question. After
I have looked at this question first: retain value after page refresh . But
Since C# doesn't have a before,after,last,first etc. as part of its foreach. The challenge
This is my first question her so please be gentle: I have followig animation
I have asked several questions about Zend and its search functions. Now after further
After asking this question about implementing an aspect with PostSharp, it came to my
I have a question simple like that: Let user enter some words from keyboard,one
This is my first question after having used this place as my go to
Hi, I have a linq to sql question like this : tmpAdList1 = (from
I have been searching around and it looks like this question has been asked

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.