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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T13:29:42+00:00 2026-06-15T13:29:42+00:00

Ok so I Have a branch in git that looks like this A-B-C-D-E and

  • 0

Ok so I Have a branch in git that looks like this

A-B-C-D-E

and a branch that looks like this

A-B-F-G

I want to make a branch like this

A-B-D-E-F-G

I think tagging might be involved but I am rather new to git.

  • 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-15T13:29:43+00:00Added an answer on June 15, 2026 at 1:29 pm

    You may want to create a new branch, starting at commit B, and then cherry-pick the specific commits you’re interested in onto your new branch.

    git checkout my-branch <B-commit-id>
    
    git cherry-pick <D-commit-id>
    git cherry-pick <E-commit-id>
    git cherry-pick <F-commit-id>
    git cherry-pick <G-commit-id>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a git branch that is based off an old master. This branch
I have a git tree that looks like the following: Because of the review
I believe that git filter-branch can allow me to do this, but I can't
I have a history that looks a little like this right now: origin/master |
I have created branch with git checkout -b mybranch. It seems that something went
I'm using git. I have a branch, apifixes , that was branched from master
In git, i have 2 commit and a branch merge that have been rebased
I have a local branch that is tracking of a remote branch on git.
I have a git branch (called v4), that was made from master just yesterday.
Apologies for how basic this is..but remotely, I have a master branch and 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.