legit
legit copied to clipboard
[feature request] submodule support
i think legit could grow some sort of submodule support -- perhaps legit sync
would update all submodules? or maybe a dedicated command to work with submodules.
+1000. submodules are my biggest pain point for the git interface today.
I think it should be a separate command.
Some pretty serious thought will need to go into this.
What would your ideal git submodule interface look like?
I think it would be nice to have an optional arg to the sync command to also update submodules, which could be set as the default option if desired, using either a dotfile or environment variable.
to start with, make the existent commands work when inside a submodule. right now it refers to the main repo instead of the submodule repo
This is fixed actually and will be included in the next release.
can it be easily updated with pip?
Yes:
$ brew install legit --upgrade
yupi
On Saturday, March 31, 2012 at 06:20 , Kenneth Reitz wrote:
Yes:
$ brew install legit --upgrade
Reply to this email directly or view it on GitHub: https://github.com/kennethreitz/legit/issues/26#issuecomment-4856088
You should git submodule update --init --recursive
after each switch
and sync
so that people don't have to think about submodules in most cases. Not a separate command!