Shared Source Code

I have PHPStorm on my Mint desktop for day to day use and my Windows 10 laptop for occasional travel use.

In all cases, I work on remotely hosted code (ie all changes, when saved, get uploaded to a remote Digital Ocean server).

What is the best way to share this code between my two development machines? Only one will ever be used at a time of course, but it would be nice to be able to grab my laptop knowing that it will be using the same code as my desktop. 

Not much experience with multiple machines.

 

0
1 comment

The best way is Git, use  GitHub or alternative services.
Or, you can just download the code directly from the server via a deployment configuration: https://confluence.jetbrains.com/display/PhpStorm/Deploying+PHP+applications+with+PhpStorm

0

Please sign in to leave a comment.