Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to checkout a new local branch when checking out a remote branch
This handles the case when no local branch exists. You will get an error if a local branch with the same name already exists. Better behavior for this case can be implemented later. Fixes #54601
- Loading branch information
1 parent
b8c522b
commit 6bf1b8b
Showing
3 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters