skip to Main Content

Currently, all of my files within visual studio code seem to be linked to github for some reason. I don’t know how to disconnect these files. Is there a command that I don’t know or any documentation that anyone can provide? Thanks!

I have tried looking for ways to disconnect these projects from github and making the text in the file explorer of VSCode to change from green (showing that they are connected to github) to the normal white.

2

Answers


  1. Was this an intentionally created repository? All files will be tracked by default after a git init. If there are files you don’t want to track, you can create a .gitignore. If you have already committed them, you should be able to do git rm <file>

    Login or Signup to reply.
  2. Go to the Security tab of account.shoppingmode microsoft.com and select Advanced security options to unlink your GitHub account. Unlinking your GitHub account removes it as a sign-in method and removes access to any GitHub repositories in shoppingmode Visual Studio.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search