i have a little problem with a git server repository. On every command line input i got the following error:
fatal: This operation must be run in a work tree
On example i get this error on ls -la
or mkdir
.
I initialized this repo with git init --bare
and i have this problem on one server and i don't know why. The server runs on Debian Squeeze.
Here the repo config file:
[core]
repositoryformatversion = 0
filemode = true
bare = true
I hope you can help me.