Search code examples
gitvisual-studiomacos-mojave

How to make sure to agree to GIT license agreement in VS CODE source control module (SCM) on Mac OS mojave?


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.


Solution

  • 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.