Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I think the Reordering events level (rebase and cherry-pick level) is wrong for learn git reset --hard #179

Open
Alvaro624la opened this issue Jul 4, 2023 · 0 comments

Comments

@Alvaro624la
Copy link

I understand that in this game, even though you "delete" a commit you don't stop to see the commit, even this commit is died. But, in this level, you explain that you can make a dangerous git reset --hard, for example, to the first commit, and then you can change the order of the previous commits with cherry-picking but, in "real life" this commits are already gone. You can't access to this commits because you killed them all with git reset --hard. I thing the only correct way to pass the level is using git rebase -i.
Now, I have to say that I'm a student and maybe I'm wrong with this. Pls, if you can, tell me if this is correct or I'm wrong and exist a way to make git reset --hard and then operate with the "previous later" commits.
Thanks for reading me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant