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 1898334
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:45:08+00:00 2026-05-17T06:45:08+00:00

I added two submodules to my vim repository, and the git status command always

  • 0

I added two submodules to my vim repository, and the git status command always outputs this:

On branch master
Changed but not updated:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)

   modified:   bundle/snipmate
   modified:   bundle/yankring

I’ve run:

git submodule init
git submodule update
git add .

and nothing happens to make it go away. Any ideas?

  • 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-05-17T06:45:09+00:00Added an answer on May 17, 2026 at 6:45 am

    This probably is due to a change added in git-1.7.0 by which submodules become marked as dirty if they contain modified or untracked files.

    git status has an option --ignore-submodules to ignore specific changes. From man git-status:

    --ignore-submodules[=<when>]
                  Ignore changes to submodules when looking for changes. <when>
                  can be either "none", "untracked", "dirty" or "all", which is
                  the default. Using "none" will consider the submodule modified
                  when it either contains untracked or modified files or its HEAD
                  differs from the commit recorded in the superproject and can be
                  used to override any settings of the ignore option in git-
                  config(1) or gitmodules(5). When "untracked" is used submodules
                  are not considered dirty when they only contain untracked
                  content (but they are still scanned for modified content).
                  Using "dirty" ignores all changes to the work tree of
                  submodules, only changes to the commits stored in the
                  superproject are shown (this was the behavior before 1.7.0).
                  Using "all" hides all changes to submodules (and suppresses the
                  output of submodule summaries when the config option
                  status.submodulesummary is set).
    

    (this option was only added in git-1.7.2)

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

Sidebar

Related Questions

I've made multiple changes to two files in a Git repository (specifically, added two
I have added two textview in iphone by this way. I have two UITextView
In linux this code doesn't work: I added two lines // Added two lines.
I am building an applicaiton using asp.net mvc3. I added two layers to this
I started my app with the master-detail template. I simply added two other VCs
I created one linear layout and I have added two relative layout. I wish
I've a problem with the ScrollViews in Titanium in an iOS-app: I added two
I have a gridview that displays items details, I added two template fields one
Two new keywords added to the C# 5.0 language are async and await ,
I added to my system-wide /etc/security/limits.conf the following two rows: * soft rtprio 55

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.