I am trying to migrate magento 220.127.116.11 to 2.0.2. I successfully installed both magento 18.104.22.168 and 2.0.2.
I've installed composer using
php -r "readfile('https://getcomposer.org/installer');" | php
Then i am tried to install Data Migration Tool via git using
php composer.phar config repositories.data-migration-tool git https://github.com/magento/data-migration-tool
It shows this error:
./composer.json has been updated Loading composer repositories with package information Installation failed, reverting ./composer.json to its original content [RuntimeException] Failed to clone https://github.com/magento/data-migration-tool, git was not found, check that is installed and in your PATH env. 'git' is not recognized as an internal or external command, operable program or batch file. require [--dev][--prefer-source][--prefer-dist][--no-progress][--no-update][--update-no-dev][--update-with-dependencies][--ignore-platform-reqs][--sort-packages][-o|--optimize-autoloader][-a|--classmap-authoritative][--][<packages>]..
What was wrong and how to solve this.