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.

Menu