Orca g co
orca g co
Checkout a branch for a git repository.
Synopsis
Searches for a branch with the name provided as an argument. If a single branch is found, it will be checked out. If multiple are found will provide a list to select from.
Options
-a, --all Checks out the chosen branch in each project in the workspace.
-b, --create Creates the branch if it doesn't exist.
-h, --help help for co
-p, --project string The name of the project within the workspace to run this command for.
--pull Pulls the branch from origin after checking it out.
-r, --rebase Passes --rebase to git pull, only valid with --pull.
-w, --workspace string The name of the workspace to run this command for.
Options inherited from parent commands
--log-format string log format to use (default "text")
--log-level string Log level to use, one of: debug, info, warn, error, none. Defaults to none, as most errors are already surfaced anyway. (default "none")
SEE ALSO
- orca g - Commands related to git.