3 ms·
* "git submodule" started learning a new mode to integrate with the tip of the remote branch (as opposed to integrating with the commit recorded in the su
by habitue 14y ago
* "git submodule" started learning a new mode to integrate with the
tip of the remote branch (as opposed to integrating with the commit
recorded in the superproject's gitlink).
I'd love to know more about this. Can a submodule track a branch now? Or are they just saying there is some preliminary work done in that direction?
- js2 14y agoThe change makes it easier to update submodules to their upstreams: https://github.com/git/git/commit/06b1abb5bd38b3cb1972907b059c7f95a197a7a5#L1R239 https://github.com/git/git/commit/06b1abb5bd38b3cb1972907b05...
- boundlessdreamz 14y agoSo the submodule version information can now be decoupled from the superproject?
- js2 14y agoThat's not how I read it. This just lets you more easily update submodules to their upstreams. You still need to commit the updated submodules in the super project. e.g.: $ cd /path/to/superproject $ git submodule update --remote [path/to/submodule] $ git add path/to/submodule $ git commit -m "update submodule to latest upstream"