createBranch()
Home > @backstage/plugin-scaffolder-node
> createBranch
Signature:
function createBranch(options: {
dir: string;
ref: string;
auth: {
username: string;
password: string;
} | {
token: string;
};
logger?: Logger | undefined;
}): Promise<void>;
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ dir: string; ref: string; auth: { username: string; password: string; } | { token: string; }; logger?: Logger | undefined; } |
Promise<void>