Publish website incl. submodules
- From
- Marcus Gustafsson <marcus@marcus.ax>
- Date
- Jan 2, 2011, 19:01 UTC
- Message-ID
- <2297A4F8-A021-47E2-BD86-D3B5561F0AE3@marcus.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