Automatic deployment using phpstorm

I configured automatic deployment using php between local and remote. Every time you modify the code locally, it will be automatically updated to the remote immediately, which is easy to use.
however, there is a problem. If I switch the git branch remotely, some files in the remote working directory will change. How can I update those changed files to my local place at once? Phpstorm"s "download from." You can only update one file at a time. If you change more than one file, it will be too troublesome to update one file at a time.

Php
Mar.02,2022

right-click the project root directory Download from.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb59c1-48323.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb59c1-48323.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?