You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(made commits in this order so that the git graph comes out similar to the image, please tell me if there's an easier way to change the order the branches are displayed)
then applied the proposed solution:
git rebase main bugFix
git rebase bugFix side
git rebase side another
git rebase another main
but got a different result:
(when rebasing another onto side, nodes C4 and C5 are appended a second time).
The text was updated successfully, but these errors were encountered:
I think this actually depends on the version of git you're running -- this project is over a decade old so it matches the git semantics of way back then, not the modern version unfortunately.
What version are you running locally?
Anyways this project is more about learning the concepts that enable you to work in git, so hopefully a few differences are tolerable :)
I understand that the aim of the project is just to give an introduction to basic git commands, but I believe the inconsistency may lie within the project itself; the earlier level "rebase introduction" stated that:
Rebasing essentially takes a set of commits, "copies" them, and plops them down somewhere else
There! Since main was an ancestor of bugFix, git simply moved the main branch reference forward in history.
My takeaway from these statements was that rebase takes all commits of the current branch up to its common ancestor with the destination branch (which contradicts the proposed solution and matches the behaviour on my machine).
Hello,
I found your tool really useful so far, but I suspect there may be an error within the solution for the level named "Rebasing over 9000 times":
I tried to recreate the same tree in git:
(made commits in this order so that the git graph comes out similar to the image, please tell me if there's an easier way to change the order the branches are displayed)
then applied the proposed solution:
but got a different result:
(when rebasing
another
ontoside
, nodes C4 and C5 are appended a second time).The text was updated successfully, but these errors were encountered: