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
Kaviyarasu . M -
Alexey -
Muhammad Roushan -
Hexadecimal -
Top comments (0)