Re: [RFC] Submodules in GIT
- From
- sf <sf@b-i-t.de>
- Date
- Dec 1, 2006, 12:09 UTC
- Message-ID
- <45701B8D.1030508@b-i-t.de>
- In-Reply-To
- <20061201110032.GL18810@admingilde.org>
Martin Waitz wrote: ...
> So you not only store your submodule HEAD commit in the supermodule when you > do commit to the supermodule, it also means that your submodule HEAD > will be updated when you update your supermodule.
Why the magic? The typical workflow in git is
1. You work on a branch, i.e. edit and commit and so on. 2. At some point, you decide to share the work you did on that branch (e-mail a patch, merge into another branch, push upstream or let it by pulled by upstream)
I fail to understand why these two steps have to be mixed up. Someone care to explain?
Regards
Stephan