Skip to Main content

tuyen get-branch

Fetch and checkout a remote branch locally.

Usage

tuyen get-branch [OPTIONS] --branch-name <BRANCH_NAME>

Options

-b, --branch-name <BRANCH_NAME>

  • Name of the remote branch to fetch and check out.
  • Required: Yes.

--hard

  • Hard reset the local branch to match the remote branch head.
  • Possible values: true, false.

-h, --help

  • Print help.