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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:59:56+00:00 2026-06-14T02:59:56+00:00

We have a bit of a mess where an old branch had subsequent work

  • 0

We have a bit of a mess where an old branch had subsequent work done
that was all merged down to a dev branch, but with other work done in dev in between
so:

we started with dev
then branched off to 5.6.9
work continued on dev, but also on 5.6.9
all work on 5.6.9 was merged down into dev
a branch was created off the latest in dev (by this stage ~1800 commits ahead of 5.6.9) and then merged into 5.6.9 – which is what we want to revert

we dont have a linear history we could revert back to a given commit because of the work done on 5.6.9 in between commits on dev, and cant find any way to find a commit hash for the merge as the log of the old branch now contains all of dev (ie git log –merges shows all the feature branches merged in to dev, not the merge into 5.6.9 that we did)

Is there a record git keeps of all merges? And any way to tell it to undo a merge (that has been pushed)?

  • 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-06-14T02:59:57+00:00Added an answer on June 14, 2026 at 2:59 am

    You could do a

    git log --grep Merge
    

    To get your commitid.

    And then:

    git rebase --onto <commit-id>^ <commit-id> HEAD
    

    That should deal with it.

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

Sidebar

Related Questions

I have a bit of a mess of a file system here at work,
I have a php script that is a bit of a mess and after
i have bit of code that causes an underflow: var t1, t2, delta: DWORD:
I have a bit of code that fits theoretical prediction to experimental data, and
I have a bit of a problem that I can't seem to code my
I have a bit of a strange problem. I have a music app that
I have a bit of a monster update query that I can't quite fit
I have a bit of mess with projects coming some on 4.0 some on
I have a bit of a complicated rewrite scenario that I could use some
I have a many to many table that has become a bit of a

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.