在windows怎么用git clone,how to use gitclone in windows

小虎在win使用git的时候出现下面的问题,当时小虎想从github下载一些文件,而手动download压缩包失败次数太多了。

'git' is not recognized as an internal or external command,operable program or batch file.

解决方法

首先在官网下载git,并且安装:
https://git-scm.com/downloads
然后就可以使用了。
在这里插入图片描述

在vscode

先在cmd运行一下git,然后重启vscode使用terminal就可以使用了,我安装的时候,环境变量是软件自动添加的。

猜你喜欢

转载自blog.csdn.net/Davidietop/article/details/106139594