hub-submodule(1)

submodule - Add a git submodule for a GitHub repository.

Section 1 hub bookworm source

Description

hub-submodule

NAME

hub-submodule - 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)

See Also

  • remote(1)
  • hub(1)
  • submodule(1)