DOKK / manpages / debian 10 / hub / hub-submodule.1.en
HUB-SUBMODULE(1) Hub Manual HUB-SUBMODULE(1)

hub-submodule - Add a git submodule for a GitHub repository.

hub submodule add [-p] [OPTIONS] [USER/]REPOSITORY DESTINATION

$ hub submodule add jingweno/gh vendor/gh
> git submodule add git://github.com/jingweno/gh.git vendor/gh

hub-remote(1), hub(1), git-submodule(1)

March 2019 GITHUB