I disagree: if you are in doubt, I would rather advise to learn how to rebase.
Also, for point 10, I would rather recommend git rm --cached, but it might be just me.
I don't think I am such a strong git power users, but no one of this questions seemed that hard to me; I would have expected some more sophisticated uses of this tool, including talking about strategies, rebase interactive, reflog, etc...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I disagree: if you are in doubt, I would rather advise to learn how to rebase.
Also, for point 10, I would rather recommend
git rm --cached
, but it might be just me.I don't think I am such a strong git power users, but no one of this questions seemed that hard to me; I would have expected some more sophisticated uses of this tool, including talking about strategies, rebase interactive, reflog, etc...