-
-
Save andrewwheal/2366294 to your computer and use it in GitHub Desktop.
rebasing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
master o-o-o-o-o-A | |
A - original master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
master o-o-o-o-o-A | |
\ | |
feature B | |
A - original master | |
B - first feature commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
master o-o-o-o-o-A | |
\ | |
feature B-o-o-o-o | |
A - original master | |
B - first feature commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updates C | |
/ | |
master o-o-o-o-o-A | |
\ | |
feature B-o-o-o-o | |
A - original master | |
B - first feature commit | |
C - first update commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updates | |
master o-o-o-o-o-A-C | |
\ | |
feature B-o-o-o-o | |
A - original master | |
B - first feature commit | |
C - first update commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updates | |
master o-o-o-o-o-A-C | |
\ | |
feature B-o-o-o-o | |
A - original master | |
B - first feature commit | |
C - first update commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updates D-o-o | |
/ | |
master o-o-o-o-o-A-C | |
\ | |
feature B-o-o-o-o-E-o-o-o | |
A - original master | |
B - first feature commit | |
C - first update commit | |
D - new update commit | |
E - new feature commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updates | |
master o-o-o-o-o-A-C-D-o-o | |
\ | |
feature B-o-o-o-o-E-o-o-o | |
A - original master | |
B - first feature commit | |
C - first update commit | |
D - new update commit | |
E - new feature commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. rebase | |
updates | |
master o-o-o-o-o-A-C-D-o-o | |
\ | |
feature B-o-o-o-o-E-o-o-o | |
2. merge feature into master (fast-forward) | |
updates | |
master o-o-o-o-o-A-C-D-o-o-B-o-o-o-o-E-o-o-o | |
feature | |
A - original master | |
B - first feature commit | |
C - first update commit | |
D - new update commit | |
E - new feature commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. new update | |
updates C | |
/ | |
master o-o-o-o-o-A | |
\ | |
feature B-o-o-o-o | |
2. merge updates into master | |
updates | |
master o-o-o-o-o-A-C | |
\ | |
feature B-o-o-o-o | |
3. merge feature into master | |
master o-o-o-o-o-A-C---------? | |
\ / | |
feature B-o-o-o-o | |
? - the fuck is this commit for? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. new update | |
updates C | |
/ | |
master o-o-o-o-o-A | |
\ | |
feature B-o-o-o-o | |
2. merge updates into master | |
updates | |
master o-o-o-o-o-A-C | |
\ | |
feature B-o-o-o-o | |
3. merge feature into master | |
master o-o-o-o-o-A-C---------? | |
\ / | |
feature B-o-o-o-o | |
? - the fuck is this commit for? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updates D-o-o | |
/ | |
master o-o-o-o-o-A-C | |
\ | |
feature B-o-o-o-o-E-o-o-o | |
A - original master | |
B - first feature commit | |
C - first update commit | |
D - new update commit | |
E - new feature commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment