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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:47:01+00:00 2026-05-15T22:47:01+00:00

So I created a new branch from master and eventually merge the changes back,

  • 0

So I created a new branch from master and eventually merge the changes back, only some changes seemed to merge and it would seem I merged in one direction. Eventually I just decided to be sure master received all the ‘experimental’ changes then I deleted the experimental branch and made a new one. So this question is turning into a few questions suddenly:

1) How do I match up branches but keep them separate?

1a) Is that bad practice to not just make a new branch?

2) Why were the branches not the same after after one merge?

2a) Am I only supposed to call a merge on the one that I want to have all of the changes?

  • 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-15T22:47:02+00:00Added an answer on May 15, 2026 at 10:47 pm

    With respect to the practical, a merge is definitely a one-way operation. It merges one branch into another. The resulting history after merging experimental into master would look like this:

    - o - o - o - o - o - X (master)
       \                 /
        o - o - o - o - o (experimental)
    

    So after one merge, master contains all of the changes made in experimental, but they are clearly not the same.

    I’m a little confused about what exactly you mean by “match up but keep separate”. It’s common practice to make a topic branch for some specific purpose (feature, bugfix…), then merge it into everywhere that entity is needed. For example, a bugfix could belong in two old maintenance releases as well as the current master, so it’d get merged into all three.

    I think this post on Junio Hamano’s blog (he’s the current maintainer of git) is one of the best explanations I’ve found of exactly when you should merge, and when you shouldn’t. It should answer the bulk of your philosophical questions.

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

Sidebar

Ask A Question

Stats

  • Questions 501k
  • Answers 501k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer It seems that you are thinking of creating a RemoteFileSystemProvider… May 16, 2026 at 2:15 pm
  • Editorial Team
    Editorial Team added an answer By default Jackson does indeed only consider explicit JSON null… May 16, 2026 at 2:15 pm
  • Editorial Team
    Editorial Team added an answer I would either: Throw exceptions in the model methods. The… May 16, 2026 at 2:15 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

My usual workflow with git is to create a new feature branch, do some
I have a public repository at github.com with 2 branches : master and test
We are in the process of converting from CVS to Mercurial hg. Our infrastructure
I am very new to git but I need to use it for one
Rails 3.0.0, Passenger 2.2.15: Create a new Rails project Add gem 'paperclip', :git =>
I read a few documents about Mutex and still the only Idea I have
I have a git repo hosted on my server using gitosis. I had branches
I have the following git status and I need to get rid of pluginA
I'm starting to do a small amount of development within my company. I'm intending
I'm using git for a personal project at the moment and have run into

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.