4 ms·
Wow this is a new level of Git hell I haven’t even heard about!
by rich_sasha 5y ago
Wow this is a new level of Git hell I haven’t even heard about!
- leephillips 5y agoYeah, keeping track of Git’s three areas (files, staged changes, repository) can get confusing. After some thought I think my advice to you to use `git reset --soft` would be better as just `git reset`, because that’s a neater “starting over”: it’s more of an “undo” of the last commit action, I guess. I often find myself reaching for `git reset --hard` after screwing up and not feeling like tracking down how I broke things.