Git: localhost > remote development > remote production

后端 未结 3 428
北荒
北荒 2021-02-03 15:51

I\'m new to Git and I don\'t understand how I can achieve the following. There are 2 servers:

  1. Localhost
  2. Linode.com VPS

Basically, I want to

3条回答
  •  臣服心动
    2021-02-03 16:32

    PhpStorm can automatically synchronize changes over sftp, even when you change branches locally.

    On Windows systems that is the best solution I've found so far. On unix/mac systems you can use rsync in combination with a utility that watches for file system changes.

提交回复
热议问题