pcottle / learnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
https://pcottle.github.io/learnGitBranching/
MIT License
30.34k stars 5.73k forks source link

level remote 8 does not explain 'reset' command in intro but that command is part of the level's challenge #1064

Open rena-puchbauer opened 1 year ago

rena-puchbauer commented 1 year ago

Issue observed: The challenge in level 'remote 8' requires the usage of a new command that has not been mentioned anywhere before so it's hard to solve the challenge because we don't know that this command is expected to be used.

Detailed explanation of the observed issue: Level Remote 8 explains these three things before we can proceed to solving the challenge: image image image

But the challenge's solution includes the usage of the "reset" command (git reset --hard o/main) which is not mentioned in the explanations seen above or in any previous intros. In the screenshot below, we can see that "show solution" includes this command: image

Expected behavior: The git reset --hard command should be part of the initial intro which usually explains all the new commands that need to be used in order to complete the level's challenge. I tried solving the challenge with only the commands that were explained so far but wasn't able to solve the challenge.

casillas-m commented 1 year ago

@rena-puchbauer The command explanation is described on level 4th of Ramping Up section ("4: Reversing Changes in Git")

image