Re:Git-SIM: Visually simulate Git operations in your own rep...
by NeutralForest on Sunday January 22, 2023 @12:31PM
(#34479843)
Git is an amazing tool with terrible UX. It's very difficult to know what the right thing to do is and the mental model is a bit weird. For example, undoing an operation is another, new commit.
[ Parent
| on HN ]
Re:Git-SIM: Visually simulate Git operations in your own rep...
by eagle2com on Monday January 23, 2023 @02:09AM
(#34486299)
That is the option of last resort, when you have already pushed _and_ you cannot mess with the history anymore.
The other one being reseting your local branch to a previous commit and force pushing if needed.
Edit: wording