This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What's the best way to revoke GitHub access for a specific extension in Visual Studio Code?
Revoke access for Visual Studio Code in your GitHub settings.
Cancel the extension's selection from the Manage Trusted Extensions option on the user account menu.
Right-click the extension and select Manage Trusted Extensions.
Modify the Trusted Extensions option in Visual Studio Code settings.
What's the best way to prevent files from being published to GitHub when you're publishing a new project that has not yet been initialized with Git?
Add a .gitignore file to your project.
Right-click files and select Add to .gitignore.
Select Add .gitignore during the publishing process.
Clear the selection of items you don't want to publish when asked during the publishing process.
How do you set the origin remote for a repository that you clone from Visual Studio Code?
origin
Visual Studio Code sets it automatically.
Select Add Origin when prompted after you run the clone process.
Run git remote add origin after the clone process finishes.
git remote add origin
Git sets it automatically.
You must answer all questions before checking your work.
Continue
Was this page helpful?