# submodules and branches

1 messages from 2008-04-25 to 2008-04-25. Participants: Stephen Hemminger.
Thread: https://gitlist.dev/t/13249

## Stephen Hemminger, 2008-04-25 00:41

Subject: submodules and branches
Message-ID: <20080424174142.5dbb6ae3@speedy>
URL: https://gitlist.dev/e/20080424174142.5dbb6ae3%40speedy

```
Our CM team likes to use both submodules and branches and it doesn't
always work cleanly.  Some examples:

1. The new release on branch "next_release" adds a submodule, but then the
submodule shows up on all branches including the production branch.

2. For next release on branch "next_release" a submodule was renamed by
moving the target directory, but now git submodule update makes two copies.

Git generally does a good job of tracking renames and deletions, so the fact
that submodules leave stuff behind is surprising.

```
