I\'m not sure why I\'m unable to checkout a branch that I had worked on earlier. See the commands below (note: co
is an alias for checkou
I got this when I did the following:
When I tried to check in the directory, I got this error.
To fix:
I opened the repo in git extensions. I saw that the file (with the old name) was staged. But since it didnt exist anymore, it could not be committed.
I simply unstaged this file.
Then I re-added the file (this time correctly named) into git and committed without errors.