Timeline for Keep a history of all the modifications to a text file
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 12, 2020 at 18:09 | comment | added | ctrl-alt-delor | The problem with git in not commit, than is easy. The problem starts when you want to do some thing useful. It is just too hard to use, too inconsistent, and easy to shoot your self in the foot. | |
| Sep 12, 2020 at 18:08 | comment | added | ctrl-alt-delor | Yes git is local, but can synchronise to/from (push/pull) a remote. | |
| Sep 11, 2020 at 13:56 | history | edited | holzkohlengrill | CC BY-SA 4.0 | added 444 characters in body |
| Sep 11, 2020 at 13:38 | comment | added | holzkohlengrill | @BowPark, you are right you can only compare between snapshots. For one file a local git repository is probably best. In my automation script I enter the time and date of the snapshot. On the same page you will also find a guide for creating a local git repository. ;-) | |
| Sep 11, 2020 at 10:29 | comment | added | BowPark | @Quentin @Eric I had googled several times for a only-local git repository, but without finding clear information. Thanks for this. My knowledge of git is very little, but this could be the occasion to make some practice. In the meanwhile (and for this specific case), I find the RCS solution more straightforward. | |
| Sep 10, 2020 at 12:29 | comment | added | Eric | Note that there is no requirement for a remote repository to exist when using git. | |
| Sep 10, 2020 at 12:26 | comment | added | Quentin | @BowPark not that git does not require a remote repository at all. git init leaves you with a fully-functional , completely local repository. | |
| Sep 10, 2020 at 10:49 | comment | added | BowPark | Thanks for your suggestions. I would really like to avoid git, also because I do not have a remote repository. Borg is a very interesting tool. I tried it, and checked out your guide. It seems perfectly suited for the backup of a directory with several (or thousands) of files, but not in my case. Each backup creates a different snapshot, their names must be defined each time; also, AFAIU there's no immediate way to cat a file inside a snapshot (the snapshot must be first mounted or extracted). Correct me if I'm wrong. It's an excellent tool, but I think it does not fit to this case. | |
| Sep 9, 2020 at 18:30 | history | answered | holzkohlengrill | CC BY-SA 4.0 |