Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8415431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:26:43+00:00 2026-06-10T01:26:43+00:00

I am trying to start using git with my project. I had (in the

  • 0

I am trying to start using git with my project.

I had (in the past) cloned RestKit to my project for use (I think that as a submodule but I am not sure. Now everything is working great and 99% of my files are tracked and pushed to Github.

When I try to add RestKit/ to my repository I get this error:

shanis-imac:shannoga-English-Club shannoga$ git add RestKit/
fatal: Not a git repository: /Users/shannoga/github/shannoga-English-Club/.git/modules/RestKit

Now I can guess that I am not spoused to push rest kit but somehow to relate it to my repository?

  1. Am I right?
  2. What does the error mean
  3. What is the way to do that?

Thanks, Shani

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:26:45+00:00Added an answer on June 10, 2026 at 1:26 am

    If ResKit is already declared as a submodule in your current GitHub project, you shouldn’t have to clone it / add it directly (not git add should be involved).

    Following Git Tools – Submodules, you should:

    git submodule init
    git submodule update
    

    That will fetch all the data from that project and check out the appropriate commit listed in your superproject.

    A git clone --recursive of your main project would have included this step for you: see “How do I get git clone --recursive to recreate submodules’ remotes and branches?“, and don’t forget, as explained in that last SO question, that the submodules are checked out in a detached HEAD mode.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to start an application using Python. I've seen that some people use
I'm trying to start using Sphinx to document some little projects of mine, but
I'm trying to start a new ASP.NET Web Application Project using Visual Studio 2008.
I'm trying to start a new struts 2 project using maven (struts2 blank archetype)
I'm trying to use git to clone an svn repository with std layout (using
I'm trying to start using eshell in place of bash within emacs, but I
I'm trying to start using Unit Testing on my current project in Visual Studio
I'm trying to start using Subsonic (v3). The brief installation instructions indicate that I
I am trying to start using source indexing alongside Git on our build server
I'm trying to start using LINQ and specifically LINQ to SQL but I'm having

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.