Skip to Main content

tuyen clone

Clone a git repository with optional branch and credentials

Usage

tuyen clone [OPTIONS] --repository <REPOSITORY> --branch <BRANCH>

Options

-r, --repository <REPOSITORY>

Git repository URL to clone
Aliases: repo, url

-b, --branch <BRANCH>

Branch to checkout after cloning

-u, --username <USERNAME>

Git username to configure for the cloned repository

-e, --email <EMAIL>

Git email to configure for the cloned repository

-p, --password <PASSWORD>

Password or token for authenticated clone

-d, --directory <DIRECTORY>

Target directory to clone into (defaults to the repository name)

-h, --help

Print help.