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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:15:19+00:00 2026-05-31T13:15:19+00:00

I know there are a lot of posts about git workflows, but I couldn’t

  • 0

I know there are a lot of posts about git workflows, but I couldn’t find exactly what I’m looking for: recommendations about best practices for the following workflow:

I have a web application that deployed via git. The application developers release updates via a public git repo. I also have my own changes that need to be applied. What would be the best way to handle this?

What I’ve been doing: I created a local deployment repo, cloned from upstream. This is served via gitolite, so it’s a bare repo. I have a clone of this repo, on which I apply changes, and push them back to the deployment repo. When changes are published to the upstream repo, I’ve been incorporating them into this clone, using the recommended command:

git fetch && git pull --rebase

I then push to the deployment repo. The problem is that I start getting a ton of merge conflicts on any files that I’ve changed. The same file will give me many conflicts during the rebase. I’m looking for an approach that can be more or less automated, but I don’t quite get git enough to understand what the problem is.

Can any git gurus offer some advice? Let me know if anything needs clarification. Thanks.

  • 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-31T13:15:19+00:00Added an answer on May 31, 2026 at 1:15 pm

    I don’t want to know and remember crappy, ugly, stupid, “original” Git-jargoon, so I’ll write recipe in the form of “needed actions”, task of translating it to command I leave for you

    Preparation

    Send your current workflow to dustbin

    Actions

    • You have to have one repo with two branches (vendor and own). Vendor branch linked to remote repo of upstream, your branch is single place, where you store own changes. Branch Own must be created from Vendor, in order to get common parent for all files in both branches, files in Own have to be patched with your changes
    • Sync with upstream performing by updating Vendor branch from remote and merging with Own branch after it (changes from Vendor merged to Own)

    You’ll have conflicts only for changed by both sides (you and upstream) files on merge stage

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

Sidebar

Related Questions

I know there are a lot of posts about this, but I cannot get
I know that there is a lot of posts about this problem.But can someone
I know that there are a lot of posts about this issue, but I've
I know that there are a lot of posts about checkboxes within Listviews and
I know there has been a lot of posts on this but it still
I know there have been a lot of submissions about routing error, but even
I know that there are a lot of posts in about Three20 app store
Hey, There's a lot of posts on here about read barcodes but I want
I know there are a lot of positive things mod-rewrite accomplishes. But are there
I know there is a lot of controversy (maybe not controversy, but arguments at

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.