S
S
Sergey Savostin2014-12-19 14:05:06
*nix-like systems
Sergey Savostin, 2014-12-19 14:05:06

Is there a local equivalent of DropBox for automatic versioning?

I want something weird.
It often happens that you edit some script / file and after many hours / days you realize that everything written is decay and you need to return to date X. Your favorite editor has closed more than once, the Internet has fallen off, etc. I
’m too lazy / forget / inconvenient to make any commits.
I would like a good wizard to monitor file changes (they are small, mostly scripts) and automatically make versions with the ability to roll back or see what was there.
DropBox fits perfectly, but it would be great if it worked locally - it makes no sense to drive traffic, and for greater security, I would not want all sorts of passwords in scripts to roam the network no one knows where.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
Boris Benkovsky, 2014-12-19
@benbor

And how will a good wizard store changes for you? So you typed a letter on the keyboard, is it time to save it? Or is it too early? Maybe wait until you add the function? Or a module?
"All kinds of commit" Work locally, but write a line

git add . 
 git commit -m 'Work In Progress'
takes 3 seconds.
But it's better to spend 6 hours learning git , learn how to break work into commits, name them correctly, and make branches, and you will have a very powerful tool for development. Still, you have to start at some point.
PS. If you really want, then you can realize your strange desire. True, for a normal programmer, a bunch of dumb commits is of no use. But if you want...
Take git. Get an IDE like PHPStorm IDEA. Set up FileWatchers https://www.jetbrains.com/phpstorm/help/file-watch...
After saving any file, run the same command git add . && git commit -m 'Work In Progress'. Voila, there are a bunch of commits in the git with the same name, all the time.

S
slvABTOP, 2014-12-19
@slvABTOP

owncloud

V
Vlad Zhivotnev, 2014-12-19
@inkvizitor68sl

seafile.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question