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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:38:17+00:00 2026-05-30T20:38:17+00:00

There’s something I try to do and it always comes down to having to

  • 0

There’s something I try to do and it always comes down to having to merge different branches manually by resolving conflicts.

The basic kind that always works, is if there is only a single developer working on a branch and then committing the changes,

The problem is – If i have two developers working on different files, how would i merge this two distinct branches into the master branch ? Always when i try i get weird errors from git about fast-forward and such.

I hope my question is clear enough 🙂

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-30T20:38:18+00:00Added an answer on May 30, 2026 at 8:38 pm

    First, it may help to post the git output to diagnose the problem more accurately. Assuming your master branch doesn’t have any problems or uncommitted files i.e. if you run git status on your master branch you get this:

    # On branch master
    nothing to commit (working directory clean)
    

    If that is the case you can do a couple of things. You can do:

    git checkout master
    git merge branch1 branch2
    

    This will most likely use Octopus merge to merge everything into master or you can do it separately if you prefer:

    git checkout master
    git merge branch1
    git merge branch2
    

    This way it will try to fast-forward first. If you still get conflicts then I would post the output here. Also as a general rule, it’s a good idea to git merge master while on your working branch (branch1 or branch2) periodically if you’re working on a long project to make sure you take care of the conflicts as they happen, although it may be less important with only two developers.

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

Sidebar

Related Questions

there's a drop down html element for date for the current month (January 1
There is something I miss with the notion of Synchronizing code in Android. Scenario
There is a website called Gild.com that has different coding puzzles/challenges for users to
There is a conversion process that is needed when migrating Visual Studio 2005 web
There are two weird operators in C#: the true operator the false operator If
There are two popular closure styles in javascript. The first I call anonymous constructor
There is previous little on the google on this subject other than people asking
There seem to be many ways to define singletons in Python. Is there a
There are a few ways to get class-like behavior in javascript, the most common
There are numerous Agile software development methods. Which ones have you used in practice

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.