Skip to content

Clone Project Command

dpi edited this page Aug 19, 2021 · 2 revisions

dogit project:clone PROJECT [DIRECTORY]

This command will clone a project from its main repository.

DIRECTORY must not be an existing directory or repository. If argument is omitted the name of the project will be used as the directory name.

Examples

Custom branch

Passing the --branch option (shortcut -b) will clone a different branch than the default branch. The cloned local copy will also have the same branch name.

Help

dogit project:clone --help

Clone this wiki locally