Git - Quick Undo
Last updated on
I have done this many times, made a commit and regretted it. If you haven’t yet pushed to origin you can ‘undo’ it.
% git reset HEAD~
Last updated on
I have done this many times, made a commit and regretted it. If you haven’t yet pushed to origin you can ‘undo’ it.
% git reset HEAD~