3 ms·
Everything in Git is addressed based on the hash of data, this automatically makes things content addressable. Git doesn't take more room if you rename a file,
by mikewarot 5y ago
Everything in Git is addressed based on the hash of data, this automatically makes things content addressable. Git doesn't take more room if you rename a file, the contents are still at the same hash. It treats the whole repository as an object, instead of tracking each individual file.
Not every command is as user friendly as it should be, but it is far, far better than having a stack of floppy disks with .ZIP files on them, which is what I used to do in the 1990s as a solo developer.