1

So I have a directory called Codebase as my default git directory. Within it I have 2 folder for Java and Python.

The directory structure is like this:

Codebase (default git dir)
---- .git
---- .metadata
---- Java
-------- .metadata
-------- Proj1 (git init here)
-------- Proj2 (git init here)
---- Python
-------- Proj1 (git init here)
-------- Proj2 (git init here)

See the following pic to see the problem I'm facing:

git status

As you can see, git status in Codebase shows that I have new commits and changes (in other files), but git status within the project directory shows no changes. This is the same for all other files too. I have no actual changes yet the files appear here.

What's going on?

Web Devie
  • 1,207
  • 1
  • 13
  • 30
KGo
  • 18,536
  • 11
  • 31
  • 47

1 Answers1

0

I have seen that kind of status when:

Check if you have a Codebase/.gitmodules file, and a Codebase/.git/modules/xxx, which would confirm the submodule presence.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250