Extend "checkout" command to include submodule init

git

#1

Hello!

Iā€™m using git-submodules to achieve dependency injection. I have to include an extra step in each repo to run:

git submodule update --init --recursive --remote

This needs to be done after the checkout step, it would be great if there was a flag on this step instead, would make the API that little bit nicer :slight_smile:

Thanks,
Alex

PS. Great job thus far on 2.0, loving it, keep up the good work!


#3