Today when I first tried to open a repository in Smartgit, it threw Executing a command failed "not a DIRC file" error. No idea what it means. I haven't done anything fancy besides pushing changes to bitbucket and now I cannot do that because it won't even open the repository.
How can I fix this?
You can fix this by deleting the /.git/index file in your repo and then running git reset in cmd in the repo root directory. It'll take 5+ minutes to perform as it rescans the entire repo. Any uncommitted changed files should survive this but if any of the above doesn't work use git reset --hard which will destroy any uncommitted files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With