git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sync submodules
@ 2010-07-29 14:53 Em DauPhu
  0 siblings, 0 replies; only message in thread
From: Em DauPhu @ 2010-07-29 14:53 UTC (permalink / raw)
  To: git

Hi,

I have hard times trying to understand submodules and superprojects
(also I'm knew to git).
Here we use Clearcase (yeay...) and I would like to use git on top of
it on my desktop.

There's a project stored in two clearcase vobs.
What I did is "git init", "git add ." and "git commit -m "initial
commit"" in both clearcase vobs.
I created then a directory (D:/myProject for example) and in this
directory I did "git init", "git submodule add Y:\myview\projA" and
"git submodule add Y:\myview\projB". And finally "git commit -m
"initial commit"".

It is working fine, I build it with hudson specify the "D:/myProject/.git"repo.

How should I update it now ?
I believe I have to do "git add ." or "git commit" in both vobs
corresponding to the first two repos when new dev are added there.

What should I do next ? I don't think an add or a commit is needed in
the superproject. I don't see any changes when building my project.

I hope it is clear enough.

Thank you.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-07-29 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 14:53 Sync submodules Em DauPhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).