Skip to main content
Writes the branch to .xata/ in this folder, so later commands run against it without being told which branch to use. This command also takes -h, --help.

checkout

Check out a branch in this folder Writes the branch to .xata/ in this folder, so later commands run against it without being told which branch to use.
string
Organization ID
string
Project ID
string
Branch ID
string
Database name
boolean
default:"false"
Output in JSON format
string
The profile to use
string
The branch to switch to
Examples: