3

I'm trying to install gitolite on a redhat virtual machine. Now, the machine is not connected to the internet. Therefore, I can't run the 'clone' step of the standard installation. I do have the source code on my machine, and when I run the 'install -ln' step - it throws:

fatal: Not a git repository (or any of the parent directories): .git

Which makes sense, because it's not a git repository (I don't understand why should it be a repository anyway).

I have also tried initializing a repo in the gitolite folder.. didn't help.

How can I workaround the clone step?

Jenian
  • 552
  • 1
  • 5
  • 18

2 Answers2

4

You can:

A bundle is a git repo you can clone from.
But it is also one file, which makes it convenient to copy around.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
2

I wish people would ask on the mailing list. I don't come here often, and if it weren't for some kind stranger pointing out to me that something has been posted here that may involve a code change I would never know.

Anyway the point here is that the error is misleading in its severity. I'll eventually push a fix that will change that to something like "git describe failed; cannot deduce version number", because that is all that is happening there. Everything else has worked as it should, despite this message.