1

the green folder

what i want to know it is that how to how to add the green folder as the pic in github?

and then if i use TortoiseGit ,how do this?

Zombo
  • 1
  • 62
  • 391
  • 407
Terry
  • 127
  • 1
  • 11

1 Answers1

0

Those green folder are submodules (special git entries)

When you clone that repo, you need a:

git submodule update --init

That will update those folder in your local working tree.
(or "TortoiseGit > Submodule update.")

Starting April, 30th 2013, when you view a repository with a submodule on github.com, you get useful links and information for the submodule.

submodule

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @caizZZz that picture comes directly from GitHub blog post, so you would have to ask them that question ;) mailto:support@github.com – VonC May 07 '13 at 05:11