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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:09:28+00:00 2026-06-13T23:09:28+00:00

I recently had a situation where I merged changes from a feature branch into

  • 0

I recently had a situation where I merged changes from a feature branch into my master branch and production branch. I then needed to remove the changes from my production branch so I used git revert. I now need to merge those changes back into the production branch, but if I perform a git merge sha1 I receive the message:

Already up-to-date

Can anyone help me with this?

UPDATE
So I wound up creating a branch off of my production branch, applying a diff from the files that I had reverted in that branch and then merging that change into production. I don’t like it, but it worked. I would still be interested in hearing if there is a way to use the same sha1.

  • 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-13T23:09:28+00:00Added an answer on June 13, 2026 at 11:09 pm

    I now need to merge those changes back into the production branch

    git revert, if done on the production branch, would have created a new commit canceling the one you wanted to remove.

    Since that new commit is already on that branch (‘production‘), you cannot merge it.

    If you meant “merge back to feature branch”, then the merge you apply that new commit on the feature branch, removing the changes from the feature branch as well.

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

Sidebar

Related Questions

So I recently had a tree conflict when trying to merge a branch into
We recently had a situation where a production machine went down with a massive
I recently ran into an embarrassing situation with some Flash coding where I had
I’m using Coldfusion MX 8. I recently had a situation where variables seem to
I recently came across a situation where I had to use XPath as part
I recently had to change my active directory account password. Ever since then I
I recently had to change the linkage specification of several classes and ran into
I am using Objectify on GAE for Java. Recently Had a situation where I
Recently I had cause to compare Blowfish algorithms. I was comparing outputs from DI
I recently found a situation in which I had two related variables that had

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.