DEV Community

Discussion on: How to keep all dev files in sync when switching computers constantly?

Collapse
 
ashutosh049 profile image
ashutosh049

Exactly! Foremost option is to go for some sort of versioning system(gitlab, github, bitbucket). Another option would be to use/install git over some remote machine and keep your code there. By this you need not keep/commit any local copy of file, everything would be on your server. You can just login to your machine and use it. Have not tried yet lol

Would love to hear other option.

Collapse
 
omarel profile image
Omar Elbaga

It seems like git could be a solution, but theres 2 problems with using GIt for this kind of thing. 1 is that with git we typically hide many folders whereas with syncing computers we need all files to match. 2. It's not really a real time sync. so we would need to keep committing constantly for little things done. It seems like git with some cloud syncing option is good, I'm looking into sync.com and dropbox syncing but still running into problems keeping these cloud folders loaded properly on local Apache servers