Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatic file-versioning (like Dropbox) [closed]

is there a tool that does automatic file-versioning (for local files), like dropbox? Seeing how easy it is to restore older versions using dropbox compared to svn...

[EDIT]

I know how svn and dropbox are intendend for very different purposes, and that svn provides much much more functionality, but the truth is that for my usual coding-work on my small projects I hardly need those and automatic commits & updates would really be wonderfull, considering how much time I've wasted because I screwed something up in svn.

like image 827
Dexter Avatar asked Apr 08 '11 10:04

Dexter


1 Answers

I would use:

  • a bare git repo on a USB key (see "developing at home and office, would GIT be easier than SVN using xcopy?")
  • combined with a post-commit hook (see "How configure automatic pushing?")

You could even go as far as to do a commit (and its associated push) every time you save a file in your IDE (like a "on save" action in Eclipse), but the result would be messy (way too many commits).
An on-demand action to commit every file at a given time, or a scheduled action (every hour for instance) is more appropriate.

like image 117
VonC Avatar answered Dec 09 '22 21:12

VonC