In a group project, If one member of the development team deletes a few commits using the command,
git reset --hard commit-number
and then pushes it to the repo using
git push origin master --hard
By executing this, the commits made after the "commit number" specified will be deleted from the remote repository.
Now how to find who deleted it and how to restore those deleted commits?
Note: In this case, none of the developers come forward to accept his mistake and so its difficult to find this out with a discussion. Is there a way to backtrack and find the username of the developer who deleted it?