GitHub not adding whole folder content?

1

1

I have w problem with pushing whole folder with its content to my repository on GitHub.

I use the following:

$ cd principal 
$ git add * 
$ git push 

Where principal is the name of folder containing two other folders (Z1, Z2) and their content. Then I visit the GitHub and see:

enter image description here

There is definitelly sth wrong with Z1 folder - I expected to see sth openable (like Z3) as this folder is a java project containing src and other folders. What is happeing?

Marta Karas

Posted 2014-02-24T12:02:01.993

Reputation: 121

possible duplicate of "nothing to commit (working directory clean)" when a folder has been added

– random – 2014-02-24T13:57:37.467

1Sorry for the migration: this has nothing to do with Superuser – VonC – 2014-02-24T15:21:18.850

Answers

1

The grey folder is a submodule

That means Z1 is a nested git repo added in your main repo as a submodule.

VonC

Posted 2014-02-24T12:02:01.993

Reputation: 13 292