A git command that switches to a desired branch.
This command will create a branch in case it does not exist.
Type: object literal
Type: string
Default: undefined
The branch name to switch to.
鈩癸笍 聽 ExecaCommand options are also applicable.
const { GitSwitchBranchCommand } = require("@abstracter/atomic-release/commands");
const command = new GitSwitchBranchCommand({
branchName: "some-branch-name",
});