|
@ -479,7 +479,7 @@ export namespace Git { |
|
|
) { |
|
|
) { |
|
|
const params = ['checkout']; |
|
|
const params = ['checkout']; |
|
|
if (createBranch) { |
|
|
if (createBranch) { |
|
|
params.push('-b', createBranch, '--track', ref, '--'); |
|
|
|
|
|
|
|
|
params.push('-b', createBranch, ref, '--'); |
|
|
} else { |
|
|
} else { |
|
|
params.push(ref, '--'); |
|
|
params.push(ref, '--'); |
|
|
|
|
|
|
|
|