Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,676
Community Members
 
Community Events
184
Community Groups

How to Clone (or Checkout) a Specific Branch via Visual Studio 2022

I think the title pretty much says it all.

I can Clone the full repo but I cannot seem to select the specific Branch I want.

Simply put I just want to do a Fetch. I do not want to do this via the console, but rather within VS via the UI.

Possible ?

 

Thanks in advance.

 

 

1 answer

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 27, 2022

Hi @Ardeun 

I have not tried this, but you can explore the option of specifying the branch URL and see if it's cloning the branch

Heres the reference

https://github.com/microsoft/vscode-remote-release/issues/4296

Otherwise clone the repo with shallow option and then checkout to a specific branch which is optimal for large repositories

Let me know if this helps

Thanks,

Pramodh

Appreciate the reply Pramodh,

I read the github link however on my interpretation it does not address the issue for me.

I will try that second option you mentioned. While it does sound workable it is of course not ideal as it is double handling and if I am not mistaken (happy to be corrected) I will end up with two sets of files on my drive ?

Cheers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events