Skip to content

[git] Add command to create branch from specific ref#59078

Merged
joaomoreno merged 1 commit intomicrosoft:masterfrom
guywaldman:git-create-branch-off-remote
Jan 4, 2019
Merged

[git] Add command to create branch from specific ref#59078
joaomoreno merged 1 commit intomicrosoft:masterfrom
guywaldman:git-create-branch-off-remote

Conversation

@guywaldman
Copy link
Contributor

Closes #55732.

Copy link
Contributor Author

@guywaldman guywaldman Sep 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same change as in #58963.
Allows to pass multiple variables in case of repository being set to true in the command options.
Would appreciate a sanity check by someone to see that it shouldn't break anything.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted this, since it is unnecessary after the refactoring.

@joaomoreno joaomoreno added the git GIT issues label Sep 24, 2018
@joaomoreno joaomoreno added this to the Backlog milestone Sep 24, 2018
@joaomoreno
Copy link
Member

Thanks! 🎆

I've refactored it a bit and simply added it to the Create Branch... command and always show a HEAD option as the default, such that the user can just press Enter to continue creating a branch in the current HEAD.

@joaomoreno joaomoreno merged commit ad6660d into microsoft:master Jan 4, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

git GIT issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Git: Support to create local branch from specific remote branch

2 participants