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

carthage update --use-submodules fails with an error #21

Closed
slabko opened this issue Mar 13, 2015 · 3 comments
Closed

carthage update --use-submodules fails with an error #21

slabko opened this issue Mar 13, 2015 · 3 comments

Comments

@slabko
Copy link

slabko commented Mar 13, 2015

When I'm trying to call carthage update --use-submodules it returns error:

*** Fetching ReactKit
*** Fetching SwiftTask
*** Checking out SwiftTask at "2.6.3"
*** Checking out ReactKit at "0.7.1"
fatal: Not a git repository (or any of the parent directories): .git

The Carfile is pretty simple:

github "ReactKit/ReactKit"
@inamiy
Copy link
Member

inamiy commented Mar 14, 2015

I guess your Cartfile is in a non-git working folder.
Make sure you git init first when you want to use --use-submodules option.

@inamiy inamiy closed this as completed Mar 14, 2015
@slabko
Copy link
Author

slabko commented Mar 14, 2015

Thanks! Thats why --use-submodules actually exist. Sorry for a such strange question :)

@inamiy
Copy link
Member

inamiy commented Mar 14, 2015

No problem 😄

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

No branches or pull requests

2 participants