I\'m working in a branch (i.e. design) and I\'ve made a number of changes, but I need to discard them all and reset it to match the repository version. I thought
design
git checkout -f
This is suffice for your question. Only thing is, once its done, its done. There is no undo.