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
Martin Humlund Clausen -
Swapnil Suresh Mohite -
Precious Mae -
Harsh Viradia -
Top comments (0)