# Publish website incl. submodules

1 messages from 2011-01-02 to 2011-01-02. Participants: Marcus Gustafsson.
Thread: https://gitlist.dev/t/26176

## Marcus Gustafsson, 2011-01-02 19:01

Subject: Publish website incl. submodules
Message-ID: <2297A4F8-A021-47E2-BD86-D3B5561F0AE3@marcus.ax>
URL: https://gitlist.dev/e/2297A4F8-A021-47E2-BD86-D3B5561F0AE3%40marcus.ax

```
Hello!

I'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

I 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.

Sincerely,
Marcus Gustafsson
```
