My git repo has become corrupted and unfortunately it only exists locally.
$ git fsck --full
Checking object directories: 100% (256/256), done.
broken link from tree 54b4ff576b2e39831a298e58a38d91890f622b63
to tree d564d0bc3dd917926892c55e3706cc116d5b165e
missing tree d564d0bc3dd917926892c55e3706cc116d5b165e
I checked into what d564d0bc
is, and it is my log/
folder in a rails project. This folder only contains *.log
files (which are ignored) and a .gitkeep
file.
I tried following the steps mentioned in this post, but I'm using GitHub for Windows and powershell is screaming at me over an empty pipe.
Any help is appreciated.
Update: I copied the project into linux so I wouldn't have to worry about powershell commands. I still haven't found a solution though.