4 ms·
I think a closer example at the filesystem level would be rsnapshot alpha rsnapshot [1] uses hard links when it can to create a delta of changed files. Rev
by LinuxBender 5y ago
I think a closer example at the filesystem level would be
rsnapshot alpha
rsnapshot [1] uses hard links when it can to create a delta of changed files. Reverting can be done with rsync or cherry picking files. git blame would have to be done via something like auditd and syslog and nowhere near as easy as using git. I use rsnapshot to back up my git repos in the event they get corrupted.
[1] - https://linux.die.net/man/1/rsnapshot https://linux.die.net/man/1/rsnapshot
- sys_64738 5y agoProbably rsync is smarter than my cp -rp example. Folk who are downvoting my original comment really don't understand how git version controls at the atomic level.
- kwhitefoot 5y agoor use cp --recursive --preserve --link so that the copy occupies almost no space. Of course this relies on your editor not editing in place.