$ git reset -- can reset by path.
$ git reset --
However, $ git reset (--hard|--soft) will report an error like below:
$ git reset (--hard|--soft)
Make sure you put a slash between origin or upstream (source) and the actual branch:
git reset --hard origin/branch
or
git reset --hard upstream/branch`