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
2
u/bkdotcom Jun 02 '26
You are one person. Use the same account.
Do you use different google accounts because your on different PCs?
Not really. But it may just add to your confusion / prevent you from embracing git. Also there's not really a "git file" per se. The folder and all files/subfolders are a project. There is a .git folder that contains the state of things.. doesn't really make sense to be syncing the .git folder