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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:57:16+00:00 2026-06-10T16:57:16+00:00

It seems that, let’s say we have everything commit as Version 1.0 done, and

  • 0

It seems that, let’s say we have everything commit as “Version 1.0 done”, and now we want to add a feature, it is good to create a branch, say newfeature, so that when we need a “hot fix” or “quick fix”, we can switch between the master branch and the newfeature branch.

But I do see in an example that, the operation is:

git checkout master
git checkout -b hotfix

// now do any fix that is needed in Emacs

git commit -am "finished hot fix"
git checkout master
git merge hotfix
git branch -d hotfix       // delete the hotfix branch

The question is, should hotfix be created and go through all the merge and deletion of hotfix? Why not just switch to the master branch and do the fix and commit it, and that’s it? Is there a good reason to create the hotfix branch?

  • 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-10T16:57:18+00:00Added an answer on June 10, 2026 at 4:57 pm

    if you are using the master branch as develop branch its in my opinion usless to make another branch for hotfixes. But if you are using a branching model like this, its very usefull.

    They are using seperate develop and master branches. The master branch is only for tagging release versions. So if your customer has a problem and you want to do a hotfix, you can make a hotfix branch from the master release tag. So the hotfix is comletely detached from your normal development branch and the customer only gets what he wants, the hotfix.

    Merging and deleting branches is also ok. If you are using –no-ff you can reconstruct, that there was a merge.

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

Sidebar

Related Questions

It seems that altough I have been using NHibernate for a while now, I
So, the question might seem strange, but let's say that I compile: int main(void)
It seems that it is suggested we can commit often to keep track of
I want to use regexps in OCaml and it seems that Str module provides
I just successfully installed WysiHat in my rails blog. Seems that the 'add a
It seems that PowerShell method overload resolution system is not consistent with C# Let's
I have a French site that I want to parse, but am running into
It seems that the concatenation in AppleScript doesn't let you easily append text to
I know that let rec is used when I want recursive . For example,
I have been trying to create a simple application that will let the user

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.