【发布时间】:2013-12-08 18:41:23
【问题描述】:
我收到一条错误消息:
failed to clone https://github.com/php-fig/log.git, git was not found, check that it is installed and in your PATH env.
'git' is not recognized as and internal or external command, operable program or batch file
当我尝试运行composer create-project laravel/laravel learning-laravel。
我安装了带有命令行 shell 的 git GUI,但我不知道为什么它无法识别命令(我在正常的 windows 命令行提示符下发出 create-project 命令)。
我还尝试从 git shell 运行该命令,该命令有效,但是当我尝试 php artisan serve 时,它给了我一个错误,提示 CLI 已停止工作。
有谁知道如何修复 git 错误?我宁愿使用 windows 命令 shell 而不是 git,因为它可以进入我的 wamp/www 文件
【问题讨论】:
标签: php git laravel-4 composer-php