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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T18:12:10+00:00 2026-06-10T18:12:10+00:00

Ok i have the following situation. I have a branch which is called develop

  • 0

Ok i have the following situation. I have a branch which is called develop.
From develop i created a branch which is called AIOEC-393.
It contains the following commits:

nicoladj77 Reinstalling wordpress 938f469

nicoladj77 AIOEC-122: Added feeds for ai1ec_events 2254569

nicoladj77 AIOEC-122: removed parsed css file d10e29e

nicoladj77 AIOEC-122: added comment to function 38054dd

nicoladj77 AIOEC-393: Starting to move files 6f92360

nicoladj77 AIOEC-393 moved classes and took out require_once calls
b7ab691

nicoladj77 AIOEC-393: starting to move base container 87e8b91

nicoladj77 AIOEC-393: moved classes as suggested and refactored a
little while i… … 1093032

I need to create another branch which is based on develop and contains only the last four commits of AIOEC-393 ( of course the commits that start with AIOEC-393 ). How can i do this?

  • 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-10T18:12:11+00:00Added an answer on June 10, 2026 at 6:12 pm

    git cherry-pick can do this. Just give the commit ID you want to merge into your current branch as argument to the command. This will “cherry pick” the commit, even if the commit belongs to a different branch.

    Or, what also should work is:

    1. Clone/checkout the branch
    2. Rewind a number of commits (reset –hard commit_ID)
    3. Cherry-pick the commits you want

    This avoids doing a rebase.

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

Sidebar

Related Questions

I have the following situation: I have a work sheet which contains a list
Consider I have the following situation: I have a branch br_foo from revision 4.
I have following situation - Have a MongoService class, which reads host, port, database
I have the following situation: An Conversations entity/table which has multiple Tags associated to
I have the following situation: From within a view controller, I go about creating
I have the following situation: I need to save data from an Intent's putExtra
I have the following situation: I built an Access form with a subform (which
I have following situation. In a constructor of a pseudo class I attach a
I have following situation (simplified, of course): MyDomain.groovy: class MyDomain { MyAnotherDomain anotherDomain //
I have following situation, String a=<em>crawler</em> <em> Yeahhhhh </em></a></h3><table; System.out.println(a.indexOf(</em>)); It returns the 11

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.