Git submodules in .gitmodules not initialized

https://github.com/Uni-/shBrushesCollection

I opened a GitHub repo and wrote .gitmodules in GitHub web source editor. When I cloned the rpo, I found the submodules in .gitmodules are not being initialized.

  • SourceTree - Not sure how to go back to a previous commit
  • Freeing workflow from CVS concepts/limitations
  • Maintaining and synchronizing a mirror remote Git repository
  • Why am I getting an empty repo when cloning my keystone app to local repo from heroku?
  • Git commands with pexpect: Terminal not fully functional
  • Check status of local Python relative to remote with GitPython
  • I think I tried almost all commands possible, including update, init, update –init and so on. Is there a way to use current .gitmodules file, not submodules add?

  • What do these words mean in Git: Repository, fork, branch, clone, track?
  • Git .bash_profile return to default
  • How to implement “Lock & Edit” mechanism for Visual Studio? GitHub, SVN, VSS, TFS?
  • Git - How to reject commits containing tabs on origin
  • Mechanism behind packed files
  • Openshift plone quickstart permission denied
  • One Solution collect form web for “Git submodules in .gitmodules not initialized”

    Writing a submodule isn’t enough.

    You should rather use git submodule add: that will update your .gitmodules file and create a special entry in the index (where you want that submodule to be loaded).

    Then, when you push that to your upstream repo on GitHub, the project page will display those special entries as a green folder.

    green folder

    Git Baby is a git and github fan, let's start git clone.