How to get PHPStorm to automatically deploy to local environment when doing git rollbacks etc
When I use git rollback, I then have to manually call the Deployment > Upload to local OR Deployment > Sync with Deployed to local functions via the right-click menu of the topmost folder containing all the files and folders affected by the rollback. I'd like this to be automatic after git rollback.
I.e.:
* rollback file added - file is deleted from local
* rollback file deleted - file is redeployed to local
* rollback file modified - file is redeployed to local
When I delete a file, I automatically get the prompt to delete on the local too per Settings > Build, Execution, Deployment > Deployment > Options > “Confirm deleting Remote files (except rsync)” and “Prompt when overwriting or deleting local items” settings being checked.
How can I go about this?
Please sign in to leave a comment.
Hi Matthew Willis20,
There is the following known issue that is yet to be fixed: https://youtrack.jetbrains.com/issue/WI-57886. Please vote for it on YouTrack to be aware of further updates on this matter.