Re:
by michaelmior on Tuesday November 15, 2022 @09:15PM
(#33617991)
git reset HEAD@{1} should do the trick to "uncommit" and keep uncommitted changes in the absence of conflicts. (I may be missing some edge cases.) It does however unstage changes.
[ Parent
| on HN ]
Re:
by galaxyLogic on Tuesday November 15, 2022 @09:30PM
(#33618101)
Right and it is not obvious: git reset HEAD@{1} .