git merge --abort
then it went back to latest commit head and deleted all my files.
My project was on merging stage and I did
git add
git commit -m "message"
then it didnt allow me to commit saying "cannot do a partial commit during merge" then I aborted merge by
git merge --abort
Then it deleted all my files and went back to last commit stage. This cause me lose all my files and codes i did in between.
How to recover all my files that i had before i ran git merge --abort