Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I really wanted to like Syncthing, but it can’t handle git repos inside it - the moment you commit anything or switch branch, Syncthing irresolvably borks the .git folder on all machines. Dropbox handles git repos inside it perfectly, syncing all uncommitted changes as well as commit/branch state without any issues, ever.


Interesting, I sync many Git repos, and they all work just fine. I even shared some with other people (to co-author). It all worked splendidly.


Well that is weird. When googling for solutions, all I found was people saying it would never work, and smartass comments about using GitHub instead. So I gave up. Maybe I’ll give it another try. It was a very simple setup though, I don’t know what I could have been doing wrong.


If only there was some kind of service that could sync git repos properly, some kind of 'hub' that could also deal with conflicts


Yes very good. But GitHub doesn’t magically sync uncommitted working tree state between your computers.


Hmm, I'm using git in syncthing folders all the time, and it works great -- how does borking manifest?


My projects folder has a dozen or so git repos in it, and I've been syncing it for over a year without issues. Between two other computers.

It doesn't matter which one I push/pull/commit/whatever from, the others mirror the operation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: