Skip to main content

Timeline for Git update submodules recursively

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
May 23, 2017 at 2:10 comment added Fledgling Pidgeon Been looking for this for the past three hours. Thank you sir. To add to this, you can also use these commands for committing, such as: git submodule foreach --recursive 'git commit -a | :'. The : makes it loop regardless of result. See linkstackoverflow.com/questions/19728933/….
Oct 2, 2015 at 18:54 comment added Michael Scott Asato Cuthbert I also would add --recursive to the last line: "git submodule foreach --recursive git merge origin master" otherwise you can get a dirty submodule when it itself has updated a submodule.
Oct 23, 2014 at 7:43 comment added Gilad Peleg I worked with changing the last line to: git submodule foreach git pull --ff-only origin master
Sep 26, 2013 at 13:28 history answered William Entriken CC BY-SA 3.0