Skip to main content
deleted 2 characters in body; edited title
Source Link
mrts
  • 18.2k
  • 8
  • 97
  • 77

Git update submodule recursivesubmodules recursively

My project struture

ProjectA
-FrameworkA (submodule)
--Twig (submodule of FrameworkA)

How I can update submodule recursivesubmodules recursively? I already tried some git commands (on ProjectA root)

git submodule foreach git pull origin master
or

or

git submodule foreach --recursive git pull origin master

but cannot pull files of Twig.

Git update submodule recursive

My project struture

ProjectA
-FrameworkA (submodule)
--Twig (submodule of FrameworkA)

How I can update submodule recursive? I already tried some git commands (on ProjectA root)

git submodule foreach git pull origin master
or
git submodule foreach --recursive git pull origin master

but cannot pull files of Twig

Git update submodules recursively

My project struture

ProjectA
-FrameworkA (submodule)
--Twig (submodule of FrameworkA)

How I can update submodules recursively? I already tried some git commands (on ProjectA root)

git submodule foreach git pull origin master

or

git submodule foreach --recursive git pull origin master

but cannot pull files of Twig.

edited tags
Link
kenorb
  • 162.9k
  • 94
  • 697
  • 763
Source Link
complez
  • 8.2k
  • 13
  • 49
  • 56

Git update submodule recursive

My project struture

ProjectA
-FrameworkA (submodule)
--Twig (submodule of FrameworkA)

How I can update submodule recursive? I already tried some git commands (on ProjectA root)

git submodule foreach git pull origin master
or
git submodule foreach --recursive git pull origin master

but cannot pull files of Twig