我已经安装了PowerShell
和msysgit
,但是PowerShell
没有从PATH中获取git。
错误是:
The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spel
g,或者如果包含路径,请验证路径是否正确,然后重试。
正在使用
cmd.exe
提取路径,为什么不在这里?我是否需要添加其他环境变量以在Powershell中将路径设置为git? 最佳答案
msysGit对于github repo是绝对的。上一次提交是在2016年5月21日。我没有问题,使用git for windows通过Powershell访问git以及我在PATH中的cmd
目录中的条目(我为Windows安装了git)。
关于git - Powershell-git路径,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/29419728/