Home > Back-end >  No idea how to exit source control in VSCode
No idea how to exit source control in VSCode

Time:09-02

I was trying to connect my Python files. Didn't go as planned and for some reason started source control without a clue how to get back.

Screenshot

Does anyone have a clue how I exit and just go back to normal?

CodePudding user response:

If all you are looking to do is close the source control panel, you just need to click on the tab for it. Source control tab highlighted

If you are trying to do something else you'll need to be more specific.

CodePudding user response:

You may have inadvertently clicked the Initialize Repository button. You can remove the source control by opening the directory in your File Manager and deleting the .git folder. That will remove the source control from your project.

If you want to go further, you can right click on the source control icon: vscode source control icon and then click Hide 'Source Control'.

CodePudding user response:

If you just want to turn off git related functions, you can use the following command on the command line(ctrl shift P):

Git: Close Repository

enter image description here

Then open your settings :

Change Git: Auto Repository Detection to false

enter image description here

  • Related