1

When trying to clone a repository with a command like:

git clone ssh://myuserid@myhost/mypath/myrepo.git

I'm getting the following errors:

Cloning into 'myrepo'...

error: failed to write new configuration file /path/myrepo/.git/config.lock

fatal: could not set 'core.filemode' to 'true'

Any ideas what the problem could be? A Google search yielded nothing.

franiis
  • 1,378
  • 1
  • 18
  • 33
Josh Johnson
  • 11
  • 1
  • 3

1 Answers1

0

It appears that the problem was that the original target partition had insufficient disk space. I don't understand why the error message did not indicate that, but once I mounted a device at /path that had plenty of space all was well.

franiis
  • 1,378
  • 1
  • 18
  • 33
Josh Johnson
  • 11
  • 1
  • 3