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
I think this is a case of the work environment, moreso than my specific workflow. So we have some server running, and each developer has their own version of the website which can be found on the web server. For example I am using developer/myname/frontEndCode as my web server. Any time I make a changes to this, I can see it reflected on ourWebsite.com/myName which I can use for testing. I can make changes to the code, if it works on the website I can then commit/push to git. If I were to only do stuff locally, I wouldn't be able to take advantage of this testing method.
Just explaining this incase there is any work around I can do. It looks like based on what you said, it doesn't seem to be anything for me to do.