{"thread":{"id":"26176","subject":"Publish website incl. submodules","startedAt":"2011-01-02T19:01:33Z","lastAt":"2011-01-02T19:01:33Z","messageCount":1,"participants":["Marcus Gustafsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"158823","messageId":"2297A4F8-A021-47E2-BD86-D3B5561F0AE3@marcus.ax","threadId":"26176","inReplyTo":null,"subject":"Publish website incl. submodules","fromName":"Marcus Gustafsson","fromEmail":"marcus@marcus.ax","sentAt":"2011-01-02T19:01:33Z","receivedAt":"2011-01-02T19:01:33Z","isPatch":false,"sender":{"key":"marcus@marcus.ax","avatar":null},"body":"Hello!\n\nI'm quite, but not completely, new to Git. So far I've figured out everything I needed to know, but I just stumbled upon something which requires some help... I found the link to the mailinglist on https://git.wiki.kernel.org/index.php/GitCommunity\n\nI want to use git to manage a (php-based) website. I'll be using \"git submodules\" to incorporate a few external tools. My question is: what's the best setup for publishing the latest version to the webserver, making sure even the submodules are updated to the correct version. I suppose I should use master-branch as the \"latest version which to push\", so the submodules should be updated to the version master is using.\n\nSincerely,\nMarcus Gustafsson"}]}