yicr
12/29/2019 - 1:07 PM

Git : Tips / Clone

target branch cloning.

ブランチを指定してClone

$ git clone -b <branch-name> ssh://git@my.domain/vendor/repo.git

cloning with submodule.

Submoduleも同時にClone

$ git clone ssh://git@my.domain/vendor/repo.git --recursive