News for hackers. Stuff that matters.
Re:Confusing Git Terminology by sakisv on Thursday November 02, 2023 @04:36PM (#38119781)
A recent scenario had to do with me rebasing something to squash out some intermediate commits, and then I opened a PR, only to realise that some of the things I squashed I actually needed them.

With reflog I was able to go back before my rebase and redo it again, more carefully this time. (Unfortunately I couldn't just cherry-pick the thing I wanted)

In general it saves you from having to do what you described with delete/re-clone/re-apply things.

There are no comments on this comment yet.