-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
difficulty 2 | ||
|
||
description "We are using a git rebase workflow and the feature branch is ready to go into master. Let's rebase the master branch into our feature branch." | ||
|
||
setup do | ||
init_from_level | ||
end | ||
|
||
solution do | ||
return repo.commits('feature').last.id_abbrev != "ed0fdcf" && | ||
repo.commits("feature").map(&:message) == ['add feature','add content','init commit'] | ||
end | ||
|
||
hint do | ||
puts "You want to research the `git rebase` command" | ||
end |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
add content |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ref: refs/heads/master |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4419b972c0cd1b346ac90332aa7c5cc949589f78 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[core] | ||
repositoryformatversion = 0 | ||
filemode = true | ||
bare = false | ||
logallrefupdates = true | ||
ignorecase = true | ||
precomposeunicode = true |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
0000000000000000000000000000000000000000 a78bcab6232e9382a86436cdfcb2ed0391b1f0ac ipmsteven <[email protected]> 1418373185 -0800 commit (initial): init commit | ||
a78bcab6232e9382a86436cdfcb2ed0391b1f0ac a78bcab6232e9382a86436cdfcb2ed0391b1f0ac ipmsteven <[email protected]> 1418373194 -0800 checkout: moving from master to feature | ||
a78bcab6232e9382a86436cdfcb2ed0391b1f0ac ed0fdcf366b21b8984fb37ea34106978a2e5c5ba ipmsteven <[email protected]> 1418373239 -0800 commit: add feature | ||
ed0fdcf366b21b8984fb37ea34106978a2e5c5ba a78bcab6232e9382a86436cdfcb2ed0391b1f0ac ipmsteven <[email protected]> 1418373246 -0800 checkout: moving from feature to master | ||
a78bcab6232e9382a86436cdfcb2ed0391b1f0ac 98205e9faf10cf33d2ef7c0f66e402540c62613a ipmsteven <[email protected]> 1418373270 -0800 commit: add content | ||
98205e9faf10cf33d2ef7c0f66e402540c62613a ed0fdcf366b21b8984fb37ea34106978a2e5c5ba ipmsteven <[email protected]> 1418373282 -0800 checkout: moving from master to feature | ||
ed0fdcf366b21b8984fb37ea34106978a2e5c5ba 98205e9faf10cf33d2ef7c0f66e402540c62613a ipmsteven <[email protected]> 1418373314 -0800 rebase: checkout master | ||
98205e9faf10cf33d2ef7c0f66e402540c62613a 4419b972c0cd1b346ac90332aa7c5cc949589f78 ipmsteven <[email protected]> 1418373314 -0800 rebase: add feature | ||
4419b972c0cd1b346ac90332aa7c5cc949589f78 4419b972c0cd1b346ac90332aa7c5cc949589f78 ipmsteven <[email protected]> 1418373314 -0800 rebase finished: returning to refs/heads/feature | ||
4419b972c0cd1b346ac90332aa7c5cc949589f78 98205e9faf10cf33d2ef7c0f66e402540c62613a ipmsteven <[email protected]> 1418373423 -0800 checkout: moving from feature to master | ||
98205e9faf10cf33d2ef7c0f66e402540c62613a 4419b972c0cd1b346ac90332aa7c5cc949589f78 ipmsteven <[email protected]> 1418373435 -0800 checkout: moving from master to feature | ||
4419b972c0cd1b346ac90332aa7c5cc949589f78 ed0fdcf366b21b8984fb37ea34106978a2e5c5ba ipmsteven <[email protected]> 1418373492 -0800 reset: moving to ed0fdcf | ||
ed0fdcf366b21b8984fb37ea34106978a2e5c5ba 98205e9faf10cf33d2ef7c0f66e402540c62613a ipmsteven <[email protected]> 1418373509 -0800 checkout: moving from feature to master |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
0000000000000000000000000000000000000000 a78bcab6232e9382a86436cdfcb2ed0391b1f0ac ipmsteven <[email protected]> 1418373194 -0800 branch: Created from HEAD | ||
a78bcab6232e9382a86436cdfcb2ed0391b1f0ac ed0fdcf366b21b8984fb37ea34106978a2e5c5ba ipmsteven <[email protected]> 1418373239 -0800 commit: add feature | ||
ed0fdcf366b21b8984fb37ea34106978a2e5c5ba 4419b972c0cd1b346ac90332aa7c5cc949589f78 ipmsteven <[email protected]> 1418373314 -0800 rebase finished: refs/heads/feature onto 98205e9faf10cf33d2ef7c0f66e402540c62613a | ||
4419b972c0cd1b346ac90332aa7c5cc949589f78 ed0fdcf366b21b8984fb37ea34106978a2e5c5ba ipmsteven <[email protected]> 1418373492 -0800 reset: moving to ed0fdcf |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
0000000000000000000000000000000000000000 a78bcab6232e9382a86436cdfcb2ed0391b1f0ac ipmsteven <[email protected]> 1418373185 -0800 commit (initial): init commit | ||
a78bcab6232e9382a86436cdfcb2ed0391b1f0ac 98205e9faf10cf33d2ef7c0f66e402540c62613a ipmsteven <[email protected]> 1418373270 -0800 commit: add content |
Binary file added
BIN
+62 Bytes
levels/rebase/.githug/objects/0c/d212c5b28da2e65ed4900712dd36c8adce48ad
Binary file not shown.
Binary file added
BIN
+163 Bytes
levels/rebase/.githug/objects/44/19b972c0cd1b346ac90332aa7c5cc949589f78
Binary file not shown.
Binary file added
BIN
+51 Bytes
levels/rebase/.githug/objects/54/3b9bebdc6bd5c4b22136034a95dd097a57d3dd
Binary file not shown.
Binary file added
BIN
+22 Bytes
levels/rebase/.githug/objects/81/78c76d627cade75005b40711b92f4177bc6cfc
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
levels/rebase/.githug/objects/98/205e9faf10cf33d2ef7c0f66e402540c62613a
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
x��Q | ||
!@��^�P����2:c-��Y��[�}=x�����4�s��Έ`�1�Lbv�H�ce���a<�Zi�eh���I��(�p-� H6�j�(z�G����琷,���i������h�O�����F@ph��Dc�n��!折u��؇�}�IY |
4 changes: 4 additions & 0 deletions
4
levels/rebase/.githug/objects/a7/8bcab6232e9382a86436cdfcb2ed0391b1f0ac
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
x��Q | ||
!E�vo>�� | ||
mE}R��1Y��f}]�p�V�S���FS�1GNkd�tT | ||
i���7���`,����;�g{���\�\귢��{�.��+�FG��8K'��픎�'.�6/#���;� | ||
|
Binary file added
BIN
+51 Bytes
levels/rebase/.githug/objects/b7/7313d7be366609dd2e77aa96d7fd73f4e27853
Binary file not shown.
Binary file added
BIN
+82 Bytes
levels/rebase/.githug/objects/b9/2d5d55d379cfb90b750e6472fc983f32ad9a71
Binary file not shown.
Binary file added
BIN
+15 Bytes
levels/rebase/.githug/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391
Binary file not shown.
Binary file added
BIN
+160 Bytes
levels/rebase/.githug/objects/ed/0fdcf366b21b8984fb37ea34106978a2e5c5ba
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ed0fdcf366b21b8984fb37ea34106978a2e5c5ba |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
98205e9faf10cf33d2ef7c0f66e402540c62613a |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
readme |
This file contains 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
This file contains 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