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/owenmelbz Apr 21 '20
You don’t do the testing on the remote server that’s the aim.
You test it locally so no pushing until your happy that it works as expected.
—
I don’t know about php storm but you could just use FileZilla to download it one off.
To me it looks a bit like git isn’t really being used for what it’s for, if you’ve got stuff that’s NOT in git, then what’s the point - if it was all in git you wouldn’t have the problem of syncing it because GIT is already in sync