Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Add a GitHub account from the Account settings dialog
Enable GitHub enterprise accounts
By default, Visual Studio only has public GitHub accounts enabled. Use the following steps to add a GitHub Enterprise Server account or an account associated with .ghe.com endpoints.
Add GitHub Enterprise Managed User (EMU) accounts
You can add your GitHub EMU account as follows:
Manage accounts using the Account Settings dialog
Note
Ensure you enter your GitHub EMU account credentials (the username has an underscore followed by the company name) on this page.
After you sign in, you'll get a success window in the browser, and you can return to Visual Studio.
Remove an account
Troubleshooting sign in issues
If you're experiencing issues when adding or re-authenticating GitHub accounts, try the following steps:
HTTP Strict Transport Security (HSTS) issues
Verify that HTTP Strict Transport Security (HSTS) is not enabled for localhost on your system's default web browser:
- On Microsoft Edge, you can type: edge://net-internals/#hsts and enter
localhostunder the Delete domain security policies section. - On Google Chrome, type: chrome://net-internals/#hsts and enter
localhostunder the Delete domain security policies section.
Run-as issues
Running Visual Studio using an account that doesn't match your signed-in Windows account, may cause issues when adding GitHub accounts to Visual Studio. You may encounter this issue when using 3rd party products that attempt to run Visual Studio elevated.
You can verify the user by following these steps:
- Open the
Task Manager - Navigate to the
Detailstab - Search for the
devenv.exeprocess - Ensure the username for that process matches the signed in Windows Account
To fix this, run Visual Studio as the user you're signed into Windows with, and then add your GitHub account.
Note
Please report a problem if you're still experiencing sign in issues.