mac系统更新后vscode 的git 无法使用问题
最新发现只要系统更新以后打开vscode就会提示无法找到git,“GitLens was unable to find Git. Please make sure Git is installed. Also ensure that Git is either in the PATH, or that ‘git.path’ is pointed to its installed location.”
这个问题是因为系统更新以后会自动删除xcode,所以咱们重新安装一下xcode即可,打开终端,输入一下命令,然后确认安装,安装完成以后重新vscode即可
xcode-select --install