I'm working in a branch ("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
git checkout design
Note: You CANNOT UNDO this.
git checkout -f this will discard any local changes which are not committed in ALL branches and master.