Skip to content

Commit

Permalink
Fixes issue with branch creation & switching
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Oct 10, 2019
1 parent db66799 commit d078f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export namespace Git {
) {
const params = ['checkout'];
if (createBranch) {
params.push('-b', createBranch, '--track', ref, '--');
params.push('-b', createBranch, ref, '--');
} else {
params.push(ref, '--');

Expand Down

0 comments on commit d078f80

Please sign in to comment.