Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone a BRANCH (other than master) from GitHub #107974

Closed
kumueric opened this issue Oct 2, 2020 · 1 comment
Closed

Clone a BRANCH (other than master) from GitHub #107974

kumueric opened this issue Oct 2, 2020 · 1 comment
Assignees

Comments

@kumueric
Copy link

kumueric commented Oct 2, 2020

In VSC, if we open the Command Palette (Ctrl+Shift+P), we can easily clone the master branch of a remote repo. What if we have a particular feature branch? How can we specify it?

As a workaround, we can either use a terminal window (or the VSC integrated terminal) to cd over to the directory, and manually type: git clone -b <named_branch> https://github.com/org/repo.git. Then, we can Open Folder to it, and everything is fine. But, it would be nice to be able to clone a BRANCH directly from within VSC.

@joaomoreno
Copy link
Member

#106664

@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants