Programming across multiple devices?

Hu
8

I have the problem that I have been programming a lot lately, but if I left I would like to continue programming my project on my laptop.
Now the problem is that I usually don't always get the files over to my laptop quickly, is there a way to synchronize the project after each restart of the IDE, or to save the files externally?

I use different IDE's, IntelliJ Idea and PHPStorm, as well as Visual Studio code.
I look forward to answers thanks.

Mi

You should use GIT.

This is a version control system. You can save your changes to a server on the Internet, so to speak, and then download them from there back to the local device. All changes are made traceable.

Un

GIT (e.g. Github) would be such a cloud for Coder.da you only had to be online, and you should keep the programs and settings as well as profiles everywhere on different computers the same (synchronous).

Li

The server does not necessarily have to be "on the Internet".

It doesn't even have to be a server, a local directory path is also possible.

But apart from these additions, which are for the sake of completeness: GIT! GIT! GIT! ^^

Mi

Was said so because it is about the exchange between several private devices - a repo on the Internet makes sense.

Li

In the case of private devices (depending on the "degree of dispersion") "Intranet" could also be sufficient. ^^

Mi

But nobody who programs from time to time sets up his own server on the intranet. Neither would I, it would all be far too complex, especially with regard to data backup.

Li

However, if you have a FRITZ! Box has, which could use the box's NAS function.

With e.g. MyFRITZ! Also on the Internet.

Mi

Yes and? Does not solve the backup problem.