{"thread":{"id":"23531","subject":"`git submodule sync`'s purpose?","startedAt":"2010-04-20T01:56:16Z","lastAt":"2010-04-20T02:35:54Z","messageCount":2,"participants":["Tim Visher","Jacob Helwig"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"139947","messageId":"t2sc115fd3c1004191856za23ef32m421697b98159bcfe@mail.gmail.com","threadId":"23531","inReplyTo":null,"subject":"`git submodule sync`'s purpose?","fromName":"Tim Visher","fromEmail":"tim.visher@gmail.com","sentAt":"2010-04-20T01:56:16Z","receivedAt":"2010-04-20T01:56:16Z","isPatch":false,"sender":{"key":"tim.visher@gmail.com","avatar":"https://gravatar.com/avatar/98307ce54bcac1a46b5d845827d5386e2a27895ff08790cdd3877ad527760575?d=mp&s=160"},"body":"Hi everyone,\n\ntrying to understand if I'm just failing to parse the docs for `git\nsubmodule sync`.  I'm basically under the impression that I can edit\nthe .gitmodules file by hand and then use that command to sync up my\nsubmodules witin .git/config to that value.  Am I totally missing\nsomething?\n\nAn example session can be found on [pastebin][].\n\n[pastebin]: http://pastebin.com/chEdc2u5\n\nThanks in advance!\n\n-- \n\nIn Christ,\n\nTimmy V.\n\nhttp://burningones.com/\nhttp://five.sentenc.es/ - Spend less time on e-mail\n"},{"id":"139948","messageId":"g2g8c9a061004191935s86a9d7a7i8dd1a361d5a0da3@mail.gmail.com","threadId":"23531","inReplyTo":"t2sc115fd3c1004191856za23ef32m421697b98159bcfe@mail.gmail.com","subject":"Re: `git submodule sync`'s purpose?","fromName":"Jacob Helwig","fromEmail":"jacob.helwig@gmail.com","sentAt":"2010-04-20T02:35:54Z","receivedAt":"2010-04-20T02:35:54Z","isPatch":false,"sender":{"key":"jacob.helwig@gmail.com","avatar":"https://avatars.githubusercontent.com/u/14557?v=4"},"body":"On Mon, Apr 19, 2010 at 18:56, Tim Visher <tim.visher@gmail.com> wrote:\n> Hi everyone,\n>\n> trying to understand if I'm just failing to parse the docs for `git\n> submodule sync`.  I'm basically under the impression that I can edit\n> the .gitmodules file by hand and then use that command to sync up my\n> submodules witin .git/config to that value.  Am I totally missing\n> something?\n>\n> An example session can be found on [pastebin][].\n>\n> [pastebin]: http://pastebin.com/chEdc2u5\n>\n> Thanks in advance!\n>\n\nI think the point is more that you can edit .git/config to point a\nsubmodule at a different location (say you have a copy of the\nsubmodule repo somewhere with some changes you want to try out), and\nthen can use \"git submodule sync\" to get the entry in .git/config\n\"back in sync\" with the canonical location for the submodule.\n\n-Jacob\n"}]}