We are using Git and Stash at my firm and it looks like someone deleted all the branches but master.
Can someone please tell me how to track down which users did it? Also, how to restore the data (if it can be restored)?
To recover: Use git reflog
to find SHA1, then use git checkout <sha>
.
To track down: Use git log
to see all commmit logs - http://git-scm.com/docs/git-log