.git - No such file or directory during rebase

20 March 2014

I was scratching my head with this one. Whenever I tried to perform a rebase with git I got the following error message:

/libexec/git-core/git-sh-setup: line 309: cd: .git: No such file or directory

I resolved this by killing the ssh-agent.exe process.

I think this is due to me using git before I mounted my encrypted volume....

Git Tools