Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rotespferd opened this issue Apr 2, 2015 · 5 comments
Closed

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

rotespferd opened this issue Apr 2, 2015 · 5 comments
Labels
bug

Comments

@rotespferd
Copy link

@rotespferd rotespferd commented Apr 2, 2015

When I want to install Quick with Carthage through carthage update I get the following output:

*** Fetching ReactiveCocoa
*** Fetching realm-cocoa
*** Fetching Nimble
*** Fetching Quick
fatal: Not a git repository (or any of the parent directories): .git

When I remove Quick from the Cartfile.private everything works fine.

I created an issue in the Quick repository, but maybe it is an error in Carthage: Quick/Quick#275

My setup ist:

  • OSX 10.10
  • Xcode Version 6.3 (6D554n)
  • Swift 1.2
  • Carthage 0.6.3

My Cartfile content is

github "ReactiveCocoa/ReactiveCocoa"
github "realm/realm-cocoa" >= 0.89.2

My Cartfile.private content is

github "Quick/Nimble"
github "Quick/Quick"
@jspahrsummers
Copy link
Member

@jspahrsummers jspahrsummers commented Apr 2, 2015

This may be an issue with Carthage's repository cache. See the very similar report and resolution in #398.

@jspahrsummers jspahrsummers added the bug label Apr 2, 2015
@rotespferd
Copy link
Author

@rotespferd rotespferd commented Apr 3, 2015

You are right. I deleted the repository cache ~/Library/Caches/org.carthage.CarthageKit and now everything works.
Thank you for your help!
close #407

@devSC
Copy link

@devSC devSC commented Jun 22, 2015

Fix my problem. Thanks.

@beamaster
Copy link

@beamaster beamaster commented Jan 13, 2017

it also fix my problem,but i have a new question.
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.

@mostafaberg
Copy link

@mostafaberg mostafaberg commented Jan 23, 2017

@beamaster This is not carthage related, you are cloning a repo hosted on this IP address and this is a warning from SSH letting you know that your key has been added to this host in known hosts list, you'll only see that warning once unless you clear the known hosts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants