

3·
8 days agoYour git repo might get very big after some time. Especially if you move files.
Moving files does not noticeably increase git repo size. The files are stored as blob objects. Changing their path does not duplicate them.
Your git repo might get very big after some time. Especially if you move files.
Moving files does not noticeably increase git repo size. The files are stored as blob objects. Changing their path does not duplicate them.
If you were to use Git, deleted files get deleted in the working copy, but not in history. It’s still there, taking up disk space, although no transmission.
I’d look at existing backup and file sync solutions. They may have what you want.
For an implementation, I would work with an index. If you store paths + file size + content checksum you can match files under different paths. If you compare local index and remote you could identify file moves and do the move on the remote site too.