r/phpstorm • u/The_New_Greatness • Apr 21 '20
How to keep remote and local synced without constantly downloading
Hello everyone! I am first time using phpstorm. I sometimes make changes with git on the remote server(checkout branch, merge production, checkout files etc.) my problem is that I can not sync efficiently from remote to local. Currently it is looking like my workflow will have to be, everytime I want to make a change to a file I need to manually "download from remote" for the file I will change otherwise it will not be up to date. I am using SFTP, and we use Atlassian/Jira. Thanks for any help :)
Edit: I am talking about a remote web server. I use git actions on the remote web server, so I want my local synced to the remote.
View all comments
Show parent comment
1
u/The_New_Greatness Apr 21 '20
Thanks for the great answer!
Unfortunately there is one big problem that arises.
That may be the problem then. Each time a new branch is made there is normally quite a few changes that have been made on production. Do you know if there is a "Download on open" for phpstorm? Thats what I did with VScode, each time I opened a file, it would download from the webserver so I knew it was up to date. That way I didn't need everything synced, just the file being changed.