Bug/Juggling Commits #2 False solution #1042
sencercebeci
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Those two commands don't seem to solve the level. We are already checked out on main, and then we get this error: Regardless, we have a pretty loose way of comparing trees to the desired solution. It doesn't have to look exactly like the solution, but rather just have the same properties -- like the same commits, their order, and their relative amend order (the hashes). so its not a bug if you find a solution that doesnt exactly match our solution tree |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found a bug i think,
In Juggling Commits #2 question, we had to use cherry pick and amend.
The way should be :
$ git checkout main
$ git cherry-pick C2
$ git commit --amend
$ git cherry-pick C3
But if you write that, it works too;
$ git checkout main
$ git cherry-pick c2 c3
This is false because the show goal has another picture for solution.
your welcome <3
Beta Was this translation helpful? Give feedback.
All reactions