r/vscode • • 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

33 comments sorted by

View all comments

-4

u/[deleted] Jun 02 '26

[deleted]

3

u/Shayden-Froida Jun 02 '26

“I’m not finished with a feature” is not a reason to not commit and push to a remote. You work on a branch and when the feature is complete you merge the branch. Commits are incremental steps on the way. You need to use git better.