0

I am trying to run this command:

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

Why am I getting this error. I am trying to set up ActionBarSherlock, but I can not get past the first command. I need ABS for building K-9 Mail. The instructions are here: https://github.com/k9mail/k-9/wiki/BuildingK9

cpast
  • 2,455
  • 2
  • 19
  • 27
Josiah
  • 1,764
  • 3
  • 13
  • 24

1 Answers1

1

The error is accurate. You're getting it because you're running git submodule init outside a git repository. Based on the (admittedly sort of vague) directions under "Building with IntelliJ IDEA" on that link, try cloning k9's source from github and downloading ActionBarSherlock first.

Christopher
  • 784
  • 6
  • 8
  • Yes, I realized that latter. It was because I didn't clone the repository, I downloaded the ZIP archive. I'll accept your answer, as it was the problem. – Josiah Nov 10 '12 at 13:40