Graham Percival wrote:
What does:
git reset --hard origin
or
git reset --hard origin master
do? I'd expect one of those to set you to a working state. (NB:
by "I'd expect", I mean "as a user, I think the program should do
this". Unfortunately, as somebody who's been fighting with git
for years, I have no confidence that git /will/ behave in that
manner)
$ git reset --hard origin
fatal: ambiguous argument 'origin': unknown revision or path not
in the working tree.
Use '--' to separate paths from revisions
$ git reset --hard origin master
fatal: ambiguous argument 'origin': unknown revision or path not
in the working tree.
Use '--' to separate paths from revisions