hub-submodule(1)

hub-submodule1

Add a git submodule for a github repository.

Usage

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

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From hub 2.14.2-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.