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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T09:02:04+00:00 2026-06-07T09:02:04+00:00

Say I have A–B–C–D–E–F–G on commit C there is horizontal scrolling feature. Later we

  • 0

Say I have A–B–C–D–E–F–G

on commit C there is “horizontal scrolling feature”. Later we changed our mind and on commit D there is “vertical scrolling”. Then E,F,G are back-end DB migration changes that do not effect the view.

But now we decide to give horizontal scrolling another chance, how do we get back horizontal scrolling? I don’t want to revert back to C, because I want to keep E,F,G. I want to forward merge C… I guess merge isn’t the correct term because C already exists in the history of this branch. I suppose I can do a checkout of the specific files from C into my current working directory, but that seems manual and I would have to remember which view files and css files were modified.

Is there a way to generate a patch difference between C and G and then apply it to the current working directory? Would that work? How do I do that?

  • 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-07T09:02:07+00:00Added an answer on June 7, 2026 at 9:02 am

    Aside from already mentioned cherry-pick (@titaniumdecoy), there is interactive rebase: git rebase -i C (meaning you get a chance to rewrite the history as if there was no D). It will of course cause merge problems if you already published the history (if there are already people with the history as in example). In this case cherry-pick might work if D was a revert (git revert C) of C. Otherwise, you’re better off reverting D: git revert D.

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

Sidebar

Related Questions

Say I have this: private list<myClass> myCollection; Is there a programming idiom to shorten
Say you have a file of bigger size then you have memory to handle.
Say I have a surrogate pair. For example: \u306f\u30fc Is there a function I
Lets say have this immutable record type: public class Record { public Record(int x,
Say I have a select box eg <div data-bind='visible: someProp'> <select class=selectSubWidgets data-bind='options: subWidgets,optionsText:
Say I have a Telerik MVC Grid, AJAX bound and I want to put
Say we have deep hashes like: b = {1 => {2 => {} },
Say i have a few fields like the following: abd738927 jaksm234234 hfk342 ndma0834 jon99322
Say I have 2 scripts test1.sh #!/bin/sh . ./test2.sh foo test2.sh #!/bin/sh foo(){ echo
Say I have a SSI script that uses exec, or a PHP script that

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.