News for hackers. Stuff that matters.
Re: by miller_joe on Thursday August 31, 2023 @06:38PM (#37344527)
I've been experimenting with working in a gcp VM for a few months and like it quite a bit. Between ssh+tmux+nvim and vscode-remote I have a remote and local dev exp that is basically identical.

Syncthing is my key to keeping my ~/git tree in sync between the two environments. Just have to be careful not to try to flip back and forth quickly between local/remote as syncthing delays can be ~10s.

Re: by aaplok on Thursday August 31, 2023 @06:42PM (#37344561)
> Syncthing is my key to keeping my ~/git tree in sync between the two environments.

Why don't you use git directly for that?

Re: by johnmaguire on Thursday August 31, 2023 @06:45PM (#37344587)
I assume to avoid commit spam.
Re: by maskros on Friday September 01, 2023 @07:02AM (#37349176)
Judicious use of git rebase fixes the commit spam issue.
Re: by lgvld on Thursday August 31, 2023 @06:48PM (#37344610)
I always had trouble when using Syncthing for .git folders: they usually end up corrupted / messed up if I push on both the local and remote .git folders.
Re: by skydhash on Thursday August 31, 2023 @06:51PM (#37344635)
Mutagen is great for syncing. It’s very fast and painless to setup.
Re: by exec1 on Friday September 01, 2023 @01:27AM (#37347145)
I wonder how well would this work for things like node_modules?