fatal: Not a git repository
New to Git (msysgit), but followed the directions on the application page and am receiving the following error given the following input:
$ git remote add appharbor https://[email blocked]/mysite.git fatal: Not a git repository (or any of the parent directories): .git
I'm sure I'm just missing a step somewhere, but the guide in the KB doesn't really help ... I'm just trying to get started :-)
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by friism on 21 Jan, 2011 07:08 PM
The directory you're in on your local machine has to be a Git repository. Most likely, you need to run:
git init
in the directory of the solution you want to push to AppHarbor.Let me know if this doesn't resolve you issue.
friism closed this discussion on 21 Jan, 2011 07:08 PM.