Boost your GitHub productivity with our new multi-account support!

Managing your GitHub identity in Visual Studio 2022 just got easier! Our latest update overhauls the GitHub account management experience and improves how you work with multiple accounts, especially for GitHub Copilot and version control scenarios. In this post, we’ll detail how these changes will make your GitHub workflow smoother, from the moment you start using Visual Studio to your everyday coding.

Onboarding Improvements

The latest Visual Studio 2022 update streamlines your GitHub experience right from the very start. You can now Sign in with your GitHub account during the first launch experience:

Image firstlaunchwithgithub

If you would rather configure your account at a later stage, you can also sign in with GitHub accounts directly from the Visual Studio shell, regardless of whether a Microsoft account is present.

Image signinfromshell

Please note that roaming settings are not currently available for GitHub accounts. You’ll need to add a Microsoft account if you want to roam your Visual Studio settings across devices.

Multiple GitHub Accounts

We’re happy to announce that you can now add and manage multiple GitHub accounts! Multi-account support was a top request from you, and the latest update enables it for all Visual Studio 2022 users.

You can add multiple public GitHub accounts effortlessly from all the same identity controls you normally interact with. For instance, you can open the profile card, click on “Add another account,” sign in to your GitHub account, and repeat as needed!

Image addaccountanimation

Seamless Switching Between Accounts

Once you successfully add your first GitHub account, Visual Studio will automatically If you have multiple accounts, switching the active accounts is effortless; just open the profile card, access the account options and select the “Set as active account” button.

Image copilotbecomesactive 2

GitHub Copilot Integration

The active GitHub account drives the activation of GitHub Copilot. If your active account is subscribed to GitHub Copilot Free, GitHub Copilot for Individuals or GitHub Copilot for Business, the Copilot feature will activate automatically.

You can check the GitHub Copilot badge to quickly assess if your active account has valid entitlements, as its status will indicate whether GitHub Copilot is active.

Image copilotbecomesactive

Version Control Integration

Managing multiple accounts also impacts version control-related scenarios. If you are working on GitHub pull requests or issues, Visual Studio prompt you to set a GitHub account and will remember your preference for each repository.

Image vc dialog

That means that you won’t need to worry about switching accounts for regular Git operations like push, pull, and fetch. between it and the repository preferences,

Conclusion

We’ve been working hard to make your GitHub experience in Visual Studio 2022 even better, and we think you’ll love these updates!  From easier onboarding and managing multiple GitHub accounts to automatic GitHub Copilot activation and smart Git handling, this update has you covered.

Thank you for your continuous feedback, which helps us make Visual Studio better with every release.  Please remember that you can keep sharing your thoughts and suggestions by visiting our developer community portal.

The post Boost your GitHub productivity with our new multi-account support! appeared first on Visual Studio Blog.

Previous Article

Optimizing Build Times with Build Insights: How Activision Cut Call of Duty’s Build Time by 50%

Next Article

.NET 10 Preview 2 is now available!

Write a Comment

Leave a Comment

Your email address will not be published. Required fields are marked *