wvs branch

Shows help messages for all branch commands.

Options

  -h, --help   help for branch

wvs branch list

Lists the existing branches available on wvs.io

Synopsis

List the existing branches. These are the branches that can be made current with the ‘branch set’ command.

The list of branches is reported sorted alphabetically, ignoring case.

wvs branch list [flags]

Options

  -h, --help   help for list
      --json   Output JSON according to the established WVS CLI standard.

wvs branch get

Gets the current branch

Synopsis

Gets the current branch.

wvs branch get [flags]

Options

  -h, --help   help for get
      --json   Output JSON according to the established WVS CLI standard.

wvs branch set

Set the current branch

Synopsis

Sets the current branch and syncs the workspace to that branch. This command can only be issued if not there is not a current changelist. A changelist must be finished or cancelled before switching branches.

If there are changes present on the current branch, an error will be reported.

Using the ‘–force’ flag indicates that you wish to switch branches even with changes present. If this flag is used, an attempt will be made to carry the changes forward to the new branch, but if they conflict with changes on the target branch, they will be discarded.

wvs branch set [branch_name] [flags]

Options

  -f, --force   Force change even with local changes present
  -h, --help    help for set

See also

  • wvs - A Command Line Interface for interacting with a Wevr Virtual Studio