Text of hub.github.com › hub-submodule.1.html as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

hub-submodule(1) - Add a git submodule for a GitHub repository.

Add a git submodule for a GitHub repository. Synopsis hub submodule add [-p] [ OPTIONS ] [ USER /] REPOSITORY DESTINATION Examples $ hub submodule add jingweno/gh vendor/gh > git submodule add git://github.com/jingweno/gh.git vendor/gh See also hub-remote(1) , hub(1) , git-submodule(1)