Hacker News new | past | comments | ask | show | jobs | submit login

This is just one of a dozen unclear cases, that arise sometimes in git workflow. I do recall the first sentence in the hint, and I could have read the end too, but it's not clear, why it's "rebase --abort", not "reset --hard", that's why it's easy to forget this and other commands.

Also, "git add/rm" is confusing, because they're not opposite of each other -- 'add' puts the file to the stage area, but rm removes it and makes forget.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: