git reset --soft HEAD~
C:\Projects> git reset --soft HEAD~
fatal: Cannot do a soft reset in the middle of a merge.
git reset --hard HEAD~
HEAD is now at f1sssebd
Note: reset --hard will delete local changes
git reset --soft HEAD~
C:\Projects> git reset --soft HEAD~
fatal: Cannot do a soft reset in the middle of a merge.
git reset --hard HEAD~
HEAD is now at f1sssebd
Note: reset --hard will delete local changes
For further actions, you may consider blocking this person and/or reporting abuse
Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.
Mike Young -
Mike Young -
Mike Young -
Mike Young -
Top comments (0)