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
Harish Kumar -
Unegbu Clinton -
Mirza Saikat Ahmmed -
Pranav Bakare -
Top comments (0)