简体   繁体   中英

Git command doesn't work on Visual Studio Code

I have installed Git on my window laptop, it works when i use the window terminal but it doesn't work with the Visual Studio Code terminal.

Someone could help me?

Thanks

First try reloading VSCode. After that, try running git --version in your VSCode terminal, if it shows you an error that means you did some part of your installation wrong and you do not have git installed and you'll have to reinstalled again.

If you're saying that in the windows terminal works, you should only restart VSCode.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM