1. hub-submodule(1)
  2. hub manual
  3. hub-submodule(1)

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)