Skip to content

Git branch aware rebase helper #1

@NonLogicalDev

Description

@NonLogicalDev

Hey Joshua, for some reason I was thinking I saw a script that you may or may not have written to help with a situation where you might be working on multiple feature branches and have for example a layout like so:

Suppose you are on branch feature-4:

master [bc1]
    feature-1 [c1]
       feature-2 [c2]
           feature-5 [c5]
       feature-3 [c3]
           feature-4 [c4] (*)

Your git log will then looks like this:

00004: (feature-4) c4
00003: (feature-3) c3
00002: (feature-1) c1
00001: (master) bc1

And want to rebase against latests master while preserving all of branch names. Have I seen that here or somewhere else? =]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions