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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:57:21+00:00 2026-05-27T19:57:21+00:00

git version 1.7.7.4 I have two branches development and testing . Originally testing was

  • 0

git version 1.7.7.4

I have two branches development and testing.

Originally testing was created from development.

I have only been working on testing. So now my testing branch has a lot of differences compared to development.

Because the testing now has my latest changes I want make development the same as testing.

So I did the following to merge them.

git checkout development
git merge -s recursive -Xtheirs testing

However, when I get the difference between the two branches. There are still a lot of differences.

So I decided to reset the development branch and try again by doing the following:

git merge testing

However, I still get the same differences.

If I try and merge again without reseting. I get already up-to-date.

Is there any way I can make the development branch the same as the testing branch?

Many thanks for any advice,

  • 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-27T19:57:22+00:00Added an answer on May 27, 2026 at 7:57 pm

    After merging development onto testing, development will gain all the changes from testing but testing will have none of the changes on development. The graph will look something like:

    *   bc6339d - (HEAD, development) Merge branch 'testing'
    |\
    | * 588c9a3 - (testing) commit message
    * | 2d484f2 - another commit
    

    See that testing and development are on different revisions.

    To merge them they have the same changes you could do:

    git checkout development
    git merge -Xtheirs testing
    git checkout testing
    git merge development
    

    The graph should now look like:

    *   bc6339d - (HEAD, testing, development) merge branch 'testing'
    |\
    | * 588c9a3 - commit message
    * | 2d484f2 - another commit
    

    If you want to keep them separate, do git merge --no-ff development.

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

Sidebar

Related Questions

I have two branches in my Git repository: master seotweaks (created originally from master
I have been using Git for my version control for a while now, but
I have been using git to keep two copies of my project in sync,
I have the next version of my code base that I've been working on
I have two different versions of git. In the 1.6.2 version, git push does
I have a project that's consisted of two branches: STABLE and DEVELOPMENT. As the
I'm using Git for version control and unlike SVN I have not come across
I've been playing around with Git recently to get a grasp of distributed version
I have a product which comes in two versions, and up to now I
I am quite new to git and version control in general, and have question

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.