In Openshift when using git, 'fatal: Not a git repository' is seen
Issue
- The following error is seen upon running any git command from within the gear directory:
fatal: Not a git repository (or any parent up to mount point /var/lib/openshift)
Environment
- Openshift Online
- Openshift Enterprise 1.1
- Openshift Enterprise 1.2
- Openshift Enterprise 2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
