Visual Studio Code cannot detect installed git

后端 未结 21 2266
走了就别回头了
走了就别回头了 2020-11-30 21:54

Visual Studio Code reports \"It look like git is not installed on your system.\" when I try to switch to the git view. I know I have git installed and used by other git clie

21条回答
  •  我在风中等你
    2020-11-30 22:50

    For Linux based OS. I had such an issue due to a corrupted path but was able to temporarily fix the issue and my git was immediately restored.

    In case you're facing such path issue type the command below

    export PATH="/usr/bin:/bin:$PATH"
    

提交回复
热议问题