I am working on master branch . I used the following command.
git pull origin master
git rm <some files>
git commit -m "meesage"
git push origin master
I want to get back the file I deleted from the remote:( Please respond.
I tried :
git reset head
git reset --hard head
Nothing worked