0

After updating Mac os to Mojave, vs code does not anymore detect git as default source control. I added "git.path": "/usr/bin" in user settings. Others on stack overflow suggest to accept git license cond. but it does not pop up upon launching vscode.

Dave D.
  • 737
  • 3
  • 10
  • 23
  • Possible duplicate of [Cant find git path in VSCode OSX](https://stackoverflow.com/questions/46610666/cant-find-git-path-in-vscode-osx) – evolutionxbox Oct 23 '18 at 13:19

1 Answers1

1

Even though you have Git installed on your computer Git will refuse to start in my installation until you accept the Xcode license. In my case ...when I used a git command in the terminal it will ask you to accept the agreement, otherwise, if you have Xcode installed, make sure you open it and accept the license agreement.

Abraham
  • 8,525
  • 5
  • 47
  • 53
  • running git via terminal generated error "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun" But xcode-select --install did the job. – Dave D. Oct 25 '18 at 08:36