Skip to Main content

tuyen clone

Clone a git repository with optional branch selection and credentials.

Usage

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

Options

-r, --repository <REPOSITORY>

  • Git repository URL to clone.
  • Required: Yes.
  • Aliases: repo, url.

-b, --branch <BRANCH>

  • Branch to checkout after cloning.
  • Required: Yes.

-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 personal access token for authenticated clone.

-d, --directory <DIRECTORY>

  • Target directory to clone into.

-h, --help

  • Print help.