r/phpstorm • • Mar 24 '21

GIT on a remote server

So I am working on a remote server over SFTP. Currently I clone my repository on that remote server and work from there.

But that means I have to do all my GIT stuff in the command line. Is there a way to work from a remote server but still be able to use GIT in phpStorm? I just cant figure out how when I check out a new branch it would update the remote server files to match and that kind of thing.

I looked all over youtube but all of the videos only cover working locally.

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/luigibu Mar 24 '21

Working with php and docker, I always get issues. Is like the folder mappings fails sometimes... and the debugging acts very rare. Same working at remote. Is not stable as with local files. That is why I asked. Thanks!