From: Em DauPhu <emdauphu@gmail.com>
To: git@vger.kernel.org
Subject: Sync submodules
Date: Thu, 29 Jul 2010 16:53:04 +0200 [thread overview]
Message-ID: <AANLkTimMBBa2HEv4P45=MiWuk1K3ak_LFgWgEq_Zzfj0@mail.gmail.com> (raw)
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.
reply other threads:[~2010-07-29 14:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTimMBBa2HEv4P45=MiWuk1K3ak_LFgWgEq_Zzfj0@mail.gmail.com' \
--to=emdauphu@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).