fixes #69063
This commit is contained in:
parent
94a2f5233e
commit
2c75fe1906
1 changed files with 1 additions and 1 deletions
|
@ -1201,7 +1201,7 @@ export class Repository {
|
|||
}
|
||||
|
||||
async branch(name: string, checkout: boolean, ref?: string): Promise<void> {
|
||||
const args = checkout ? ['checkout', '-q', '-b', name] : ['branch', '-q', name];
|
||||
const args = checkout ? ['checkout', '-q', '-b', name, '--no-track'] : ['branch', '-q', name];
|
||||
|
||||
if (ref) {
|
||||
args.push(ref);
|
||||
|
|
Loading…
Reference in a new issue