$ git submodule init $ git submodule update
Also, there's git submodule foreach which allows you to do the same thing to each submodule (such as checkout a different branch). Frederick ________________________________ From: [email protected] <[email protected]> on behalf of Burton, Ross <[email protected]> Sent: Monday, June 6, 2016 3:06 AM To: [email protected] Cc: [email protected] Subject: Re: [yocto] How to execute a git submodule init/update? On 6 June 2016 at 10:39, <[email protected]<mailto:[email protected]>> wrote: I have a git source which need some submodules. For that I need to execute "git submodule init" and "git submodule update". Any idea how to do it in a comon way? Use the gitsm: fetcher, which will do that for you. Ross -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
