[Bro-Dev] Git merge and submodules

Gregor Maier gregor at icir.org
Thu Jan 13 09:46:23 PST 2011


> [cut] but Gregor, didn't we have a second thing the
> script could do as well?). 

git submodule init
(maybe with --recursive, don't know whether it's needed)

This command can be used if you cloned the repository and forgot the
--recursive. (*) The submodule init will then clone the submodule
repositories and check out the appropriate version.


cu
Gregor

(*) This actually happened to me a couple of times. I clone the
repository. Did my changes and when I tried to compile it complained
that I didn't have binpac....
-- 
Gregor Maier
<gregor at icir.org>  <gregor at icsi.berkeley.edu>
Int. Computer Science Institute (ICSI)
1947 Center St., Ste. 600
Berkeley, CA 94704, USA
http://www.icir.org/gregor/


More information about the bro-dev mailing list