I have recently upgraded from
ubuntu 14.04 to
apt-get dist-upgrade, which seems to have gone smoothly, except that I can no longer use one of my git repositories (on which I had local commits that have not been pushed).
Whenever I run a
git command, such as
git status I now received the following message:
fatal: Reference has invalid format: 'refs/stash (1)'
git stash clear thinking that this might be due to a corrupted stash list, but that had no effect (the command ran without errors or outputs, and I am still getting the above error).
diff my files manually and create a new repo altogether, is there anything I can try to recover this local repository? I am using