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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T00:07:09+00:00 2026-06-17T00:07:09+00:00

We have a few branches… master is our dev branch. feature-newfeature is a new

  • 0

We have a few branches…

  • master is our dev branch.
  • feature-newfeature is a new feature.
  • feature-tempfeature is a new feature that our product team have asked for until new feature is created. feature-newfeature was started a while ago and hasn’t been merged into master yet (but there have been other changes to master).

We have now been instructed to put this temp feature in which needs all the changes from master – so its a releasable build – but also needs some of the stuff we’ve been working on in newfeature (as they say “you can reuse some of the stuff you’ve already done”).

How would it be best to go about doing this? I have created feature-tempfeature from the master branch. feature-newfeature isn’t finished, and I don’t want to merge it into master.

I don’t want to just use feature-newfeature either because we want to be able to keep working on that in parallel.

How would you sort out this issue in your dev environment?

Many thanks!

  • 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-17T00:07:10+00:00Added an answer on June 17, 2026 at 12:07 am

    branches are just aliases for a specific commit. Therefore you can have multiple branches that actually point to the same commit. So, what you could do is to create a new branch newBranch that points to the same commit as master and then merge feature-tempfeature into newBranch. The effect would be the same as merging into master, except that master stays untouched.

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

Sidebar

Related Questions

We have some feature branches that can get put on ice for a few
In our Git repository we have a few merges from branches that should have
I have a git repo which has a few branches - there's the master
There are a few branches branches (master, test1, test2,) I have just cloned the
currently we have a TFS Server that has a few files with many branches,
I have a repo that I have a master branch which will end up
I have a local ref that contains a few branches that I recently performed
I have a mercurial repository setup with a few named branches. I want to
I'd like to have a few files of code available to any branch, but
I have the following problem: We have a large product which is in master

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.