The simplest version control system I know of is the RCS version control system . This is a command line utility available out of the box on Linux systems. It is pretty simple.
At first. Inside the current directory, create the directory in which the RCS information will be stored:
$ mkdir RCS
The second. Store (register) the file in RCS:
$ ci -t-"My notes" notes.txt
The original file is deleted.
Third. Restore source file with RCS:
$ co -u notes.txt
Fourth. Edit the file as needed, now it can be restored at any time:
$ vim notes.txt
RCS also works with binary files and supports many subsequent changes to the file.
idonnie
source share