关联远程git仓库失败
来源:2-10 思考:高频面试题(持续更新)
慕沐4796115
2025-11-03
PS C:\Users\33124\IdeaProjects\demo> git remote add origin git@git.imooc.com:xuld/inno.git
git : 无法将“git”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
- git remote add origin git@git.imooc.com:xuld/inno.git
-
+ CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
写回答
1回答
-
甲蛙
2025-11-07
是不是没安装过git,需要安装git工具,如果是windows,就安装git for windows
00