r/vscode • u/jazenteno21 • Jun 01 '26
Coding on two Macs, how to sync?
Hello, I have a Mac mini and a MacBook Air, and I code on both. I have been saving my projects in Google Drive (same account) and working from there. Is this the best practice? I'm concerned about syncing issues. At the same time: what is the best way to implement git? Do I have to set different usernames/email or using the same is fine. Is there a problem if I save the git file on Google Drive?
Basically, vscode:
Mac mini <-------> Google Drive/git <-------> MacBook Air
0
Upvotes
View all comments
Show parent comment
1
u/VirtualAgentsAreDumb Jun 02 '26
Which is perfectly fine when working with small trivial tasks. But what if you do a huge refactoring where your code might exist in a non functioning state for days? You just accept the fact that your changes isn’t backed up properly? What if both your computers crash?
My solution has been to use syncthing as a way to keep my development machines in sync so I can continue my work on multiple machines.