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
JSDev Space -
Benj Hingston -
Abdellah Hallou -
Alex Merced -
Top comments (0)