Re: using .gitmodule as default (was: git submodule init and redundant data in .gitmodules/.git/config)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: martin f krafft <madduck@...>
Cc: <git@...>
Date: Friday, August 17, 2007 - 3:14 am

On 8/16/07, martin f krafft <madduck@madduck.net> wrote:

The purpose of 'init' is to inform git-submodule about which
submodules you want to checkout. E.g. for a project with submodules in
directories 'a', 'b' and 'c', you could do

$ git submodule init b c
$ git submodule update

This would only fetch/checkout the submodules in direcotories 'b' and
'c', while 'git submodule status' would still inform you that there is
actually three submodules available.

Note: If you wanted to initialize all three submodules at once, you
could simply do

$ git submodule init

--
larsh
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git submodule init and redundant data in .gitmodules/.gi..., Sven Verdoolaege, (Wed Aug 15, 12:38 pm)
Re: using .gitmodule as default (was: git submodule init and..., Lars Hjemli, (Fri Aug 17, 3:14 am)
Re: using .gitmodule as default (was: git submodule init and..., Josef Weidendorfer, (Thu Aug 16, 9:53 am)
Re: using .gitmodule as default (was: git submodule init and..., Josef Weidendorfer, (Thu Aug 16, 12:39 pm)