threads / discuss / 10080

Submodule idea

Subject: Submodule idea

## tl;dr

One message between Sep 29, 2007 and Sep 29, 2007.

replies: 0people: 1as markdown or json

Daniel Barkalow· Sep 29, 2007, 19:04 UTC · lore

I *think* that it would be a great benefit if "git submodule update" would leave you on a branch if (a) you were on that branch before, and (b) pulling on that branch would update it to the commit that the superproject specifies for that submodule.

Or maybe there should be a "git submodule fetch" which fetches from the remote, and replaces FETCH_HEAD with the superproject's index entry, and "git submodule pull" would merge it? (With the model being that the entry in the superproject is an additional remote that you both track and publish to)

	-Daniel
*This .sig left intentionally blank*

← back to recent threads