3 ms·
Git and Hg do exactly what you want. I'm not sure I understand what heavy means in this context, how exactly is git heavy? It's a 2MB binary. $ du -sch `wh
by atmosx 10y ago
Git and Hg do exactly what you want. I'm not sure I understand what heavy means in this context, how exactly is git heavy? It's a 2MB binary.
$ du -sch `which git`
2,0M /opt/local/bin/git
2,0M total
You don't have to push the code to a remote repository just because everybody does. An older alternative which was created to do exactly what you described is rcs[1].
[1] http://www.gnu.org/software/rcs/ http://www.gnu.org/software/rcs/
- billconan 10y agoheavy doesn't mean the size of the file. it means the feature set and complexity of using. for example, I don't want to track all files under a folder. I just want to track few individual files I specified. perhaps, I'm not a good user of git. I don't know how to do local history with git. and eventually I need to push my change to a remote repository when my experiments are done.
- atmosx 10y agoI don't think git is complex. It has a load of features for doing complicated stuff, but that's for those who need them. In any case, one could create a set of shell aliases to perform the operations needed in any way you see fit.
- billconan 10y agoyes, rcs looks like what I want http://jodypaul.com/SWE/RCSTutorial/RCSTutorial.html http://jodypaul.com/SWE/RCSTutorial/RCSTutorial.html but it is still kinda complex. I just want to provide redo/undo to any text file independent to any text editor.