The tutorial provides you with information you need to discard the unstaged changes in the working copy. Find several ways of discarding and get the codes.
This tutorial provides the information of answering to the question of reverting git rm -r, and differences between reverting git rm -r . and git rm.