Search code examples
djangogitrsyncsshfs

How to work in locale/remote and have the work always synchronized


this is a newbie question.

I've a server where I've uploaded all my work directory. It's a small project in Django.

I want to work either in locale and in remote server, but I want the both directories ever synchronized. When I'm going to work on my computer, I would the work directory to be synchronized. And vice versa.

Someone says me to use sshfs, rsync, git.

What are your recommendations? Which one should I use?


Solution

  • You should be using git (or another version control system) anyway, to ensure that you always have a record of the changes you make to your work. Synchronising across systems is an added benefit that you will get if you set up the git remotes properly, and always ensure that you pull from the remote when you start and push back when you finish.