DOKK / manpages / debian 11 / 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)

18 Jul 2021 hub version 2.14.2