NOTE: this has nothing to do with git/version control. I cannot push a repo every time I make a change to source files :) This is about syncing. I already use git on top of this.
What I am trying to do is synchronize my work across my home network which currently only consists of my desktop running Windows 7 and my laptop running Ubuntu 10 using SMB for file share.
Ideally I want to use my laptop as a server, and a self-contained development environment in itself.
What I've tried:
IDE with link to network location to edit files directly
This works, and changes will show up instantly of course but problem is with an IDE all the indexing and such make it painfully slow. Plus, my server is the only source for my files which can't be good.
Again, works, but the changes do not appear immediately as the sync software usually performs scans, plus the software usually doesn't work on both Windows 7 and Linux.
Which of course is sync software but uses an online storage. The only problem I can see here are the paths. Where everything is inside 'Dropbox' folder doesn't seem like it is meant for source code management.
Upload on save
Which I guess is probably the most viable solution. However, doesn't offer 2 way synchronization.
To spell it out..
desktop - has IDE
laptop/server - has source
edit file from IDE on desktop, changes are 'almost' instantly reflected on laptop/server. I can then carry my laptop anywhere with or without internet access and I have a portable server.