andres-montanez / Magallanes

The PHP Deployment Tool
https://magephp.com
MIT License
691 stars 169 forks source link

Error on deployment with a Windows machine #404

Closed cbraillon closed 6 years ago

cbraillon commented 6 years ago

I am trying to deploy a project from PhpStorm (Windows) on a server but I have an error when I launch the command : bin\mage deploy develop

I have an error on pre-deploy tasks : Running [Git] Change Branch (develop) ... FAIL

I try to execute the command git checkout and it works.

More informations : https://stackoverflow.com/q/47669938/8614882

Any solution would be very helpful, thanks in advance !

andres-montanez commented 6 years ago

Only linux is supported. Regards.

cbraillon commented 6 years ago

Hi, Thanks for the answer.

In case of someone had the same issue. I found an alternative solution to use it "on Windows". With Windows 10 64bit (only this version), we can install a Linux sub-system (see https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/). Now, I can use the linux bash shell directly from Windows !