{"thread":{"id":"24573","subject":"Sync submodules","startedAt":"2010-07-29T14:53:04Z","lastAt":"2010-07-29T14:53:04Z","messageCount":1,"participants":["Em DauPhu"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"146713","messageId":"AANLkTimMBBa2HEv4P45=MiWuk1K3ak_LFgWgEq_Zzfj0@mail.gmail.com","threadId":"24573","inReplyTo":null,"subject":"Sync submodules","fromName":"Em DauPhu","fromEmail":"emdauphu@gmail.com","sentAt":"2010-07-29T14:53:04Z","receivedAt":"2010-07-29T14:53:04Z","isPatch":false,"sender":{"key":"emdauphu@gmail.com","avatar":null},"body":"Hi,\n\nI have hard times trying to understand submodules and superprojects\n(also I'm knew to git).\nHere we use Clearcase (yeay...) and I would like to use git on top of\nit on my desktop.\n\nThere's a project stored in two clearcase vobs.\nWhat I did is \"git init\", \"git add .\" and \"git commit -m \"initial\ncommit\"\" in both clearcase vobs.\nI created then a directory (D:/myProject for example) and in this\ndirectory I did \"git init\", \"git submodule add Y:\\myview\\projA\" and\n\"git submodule add Y:\\myview\\projB\". And finally \"git commit -m\n\"initial commit\"\".\n\nIt is working fine, I build it with hudson specify the \"D:/myProject/.git\"repo.\n\nHow should I update it now ?\nI believe I have to do \"git add .\" or \"git commit\" in both vobs\ncorresponding to the first two repos when new dev are added there.\n\nWhat should I do next ? I don't think an add or a commit is needed in\nthe superproject. I don't see any changes when building my project.\n\nI hope it is clear enough.\n\nThank you.\n"}]}