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?

An Dorfer
  • 1,178

1 Answers1

1

The grey folder is a submodule

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

VonC
  • 14,588