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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:45:45+00:00 2026-05-24T21:45:45+00:00

My use case is this: tagged master v1.0 did some changes in master live

  • 0

My use case is this:

  1. tagged master v1.0
  2. did some changes in master
  3. live bug means I need to patch v1.0
  4. I create a branch from the v1.0 commit make the changes and commit
  5. I then tag the branch v1.0.1

I then want to merge the branch back into master. If I do this the v1.0.1 tag ends up being after the changes in master at point 2 (as you would expect).

I am guessing the answer is no, but is there anyway to merge the branch into the commit so that my 1.0.1 tag is attached to the commit after v1.0 and before the other changes in master. In effect ripling my change forward in time I suppose.

Or is the problem really my workflow, and I should have made my changes in 2 in a branch and only merged them to master when they were live.

  • 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-24T21:45:46+00:00Added an answer on May 24, 2026 at 9:45 pm

    A tag is immutable, so your issue is more about the order of commit.

    What you can do is rebase master on top of branch v1.0.1:

    git checkout master
    git rebase v1.0.1
    

    That way, the two new changes in master are replayed on top of V1.0.1.
    If you hadn’t published master yet, a rebase is a convenient way to integrate fixes into your current branch.

    See “git rebase vs git merge” for more.


    As Graham points out in the comments, if your changes on master were already pushed, rebasing them can spell troubles for your colleagues having already pulled master.
    See “Rebasing and what does one mean by rebasing pushed commits“.

    In that case, it is bast to:

    • make your changes on a ‘next‘ branch
    • merge V1.0.1 in master (which then reflects at all times what is running in production)
    • merge next in master when ready

    (but if next needs the patch, then yes, you will be forced to apply it after your changes, because said changes have been already published, i.e. pushed to a remote repo)

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

Sidebar

Related Questions

The use case is some what like this: public class SomeClass : ICloneable {
My use case is this, I want to call out to a webservice and
I have this use case of an xml file with input like Input: <abc
I'm starting to use Mercurial on my web server (in this case MediaTemple's Grid).
How can I use output caching with a .ashx handler? In this case I'm
The original use case: This is a possible use case I'm trying to solve:
I understand the meaning of 'this', but I can't see the use case of
I don't have a use case for this but I was recently asked this
My Use case like this - User is in my application - User presses
I have a use case where I need to return a PDF to 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.