Hacker News new | ask | show | jobs
by tarruda 2171 days ago
If you are working alone on these projects, store bare git repository in Dropbox and/or similar services that sync data through all your devices.

If more privacy is required, you can use something like gocryptfs to only send encrypted data to these services.

Syncthing is a similar option that doesn't require an external service, also doesn't require local encryption since all data in transit is always encrypted.

This has a big caveat though: there's no locking mechanism that will work reliably on the bare git repo, so you may have to resolve some conflicts manually if two separate devices push to the same git repo at the same. This is why you should only use this method of you work alone on these repos.