'Git: Clone Missing in VS Code

VSCode Version: 1.63

OS: Mac Monterey

I'm missing the option to clone repository. I have another Mac where it shows just fine.

I checked settings and Git is missing under Extensions but I'm unsure how to get it back.

Explorer in VSCode

Things I've tried:

  • Shift+Ctrl+P Git:Clone (doesn't exist)
  • Ensuring git and python are installed (they are)
  • Verified that Github: Git Auth is enabled under Preferences (it is)
  • Uninstalling/reinstalling (no change)
  • Rebooted machine (no change)


Solution 1:[1]

Assuming you are launching VSCode from a shell where git is recognized/installed, check first, as in here, it is not a license issue.

See "microsoft/vscode issue 81287": xcodebuild license needs renewing.


The OP AnaBee reports making it work after a git init, and following "Git missing in VS Code – No source control providers":

Open Visual Studio Code, click left-bottom ?? (gears) and select Command Palette.

Search for the word "enable", and select Enable All Extensions.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1