Version control for remote deployment

Answered

I've set up a remote python interpreter for my project and automatic file uploads.  When I want to commit my code, I am doing so on my local machine.  Yet the repository on the remote server still has the un-staged changes.  Right now I am just running 'git reset HEAD --hard' and then pulling down the changes I pushed locally.  This seems clunky and potentially may be deleting code I wrote directly on the server (although I've been careful about this).

Any suggestions on how to automatically sync git updates locally & remotely?

Thanks!

Griffin

0
1 comment

There is no such feature at the moment. Feel free to vote for the corresponding feature request in our issue tracker https://youtrack.jetbrains.com/issue/IDEA-143172

0

Please sign in to leave a comment.