I have an error named in the title.
fatal: pathspec 'origin' did not match any files
It happened when I tried to change remote repository from new to old one. There are no changes comparing with old version. Last commits are same in local and remote repositories.
I used git add origin
command.
It was my mistake in command.
Does anybody have such problem? How to solve it?