wildmyron wrote: ↑October 13th, 2020, 10:09 am
@dvgrn perhaps you'd consider a bit of history rewriting to expunge all those now deleted large files from the b3s23life repo's history. That doesn't come without some risk and potential issues for collaborators (just simsim314 and myself) but I think it would be worth it.
Potential issues is right. I knew that removing those files from the repository history would be the Right Thing To Do, so I had already done some investigation. My first conclusion was that really understanding everything about the process well enough to be able to fix whatever errors would probably come up, was a matter of days or weeks, not just hours.
However, with your message to push me in the direction of virtuous Git repo maintenance behavior, I tried this -- just experimentally removing one of the twenty files I need to remove:
Code: Select all
greedd@L2116LT /cygdrive/c/repos/b3s23life
$ git filter-branch --tree-filter 'rm -f 12x12-1G-octohash/octohashes2obj2x12b_0.txt' HEAD
WARNING: git-filter-branch has a glut of gotchas generating mangled history
rewrites. Hit Ctrl-C before proceeding to abort, then use an
alternative filtering tool such as 'git filter-repo'
(https://github.com/newren/git-filter-repo/) instead. See the
filter-branch manual page for more details; to squelch this warning,
set FILTER_BRANCH_SQUELCH_WARNING=1.
Proceeding with filter-branch...
Rewrite ff254e9eacc61d3aca0461be082511949c489d24 (1/182) (0 seconds passed, remaRewrite f9928b58b956f36d5dfdd0c1b71adbd4c55ada3e (2/182) (1 seconds passed, remaRewrite fffcf31378c075157bbecf3054f2fd0071b3878b (2/182) (1 seconds passed, remaRewrite 4325b8790dbd56be93d0200331b4d31799d4e2e6 (2/182) (1 seconds passed, remaRewrite d45f8738248f35af7b1e7c4be7095642f00b7ecd (5/182) (4 seconds passed, remaRewrite 98c58b969185bebf558ed66adf0c044ec7dded4e (5/182) (4 seconds passed, remaRewrite bb3aa027b1d0eeddb7efbb70bd34acbcd7513ec3 (7/182) (6 seconds passed, remaRewrite 89a00cc2c1defe88fc6ea8c6989e345984f8d9df (7/182) (6 seconds passed, remaRewrite cb04a667f7d437eccde37442a27e9729312cc08d (9/182) (8 seconds passed, remaRewrite 9fdb0955e066cf94c5e744b69709c7ef15aa8441 (9/182) (8 seconds passed, remaRewrite 0b6aea5ac0e8b40a64f7a076837fcdd29e80c550 (11/182) (11 seconds passed, reRewrite f5bf5e927b93474ec51bf085bbbb7a78460bdc05 (11/182) (11 seconds passed, reRewrite 333802772171f14cc20ab1963ca724d9d48608b9 (13/182) (13 seconds passed, reRewrite 1f08ecde1d9e6167753dc5dbcdb8c8b30fec4767 (13/182) (13 seconds passed, reRewrite 0e78aa60b65367163dad3cf0e17bf86c872beada (15/182) (15 seconds passed, reRewrite 8de31185324f5c568eaed332c7b4d191699b6e09 (15/182) (15 seconds passed, reRewrite 5e8df6e6a6d19798c8f17f5db04bbfadb1ae3c62 (17/182) (18 seconds passed, reRewrite 9f4d8c5c103e71d19bd4a4067fe8295078bbc01c (18/182) (19 seconds passed, reRewrite 71eac3a65d8068476cd165d72f5817189772c24c (19/182) (21 seconds passed, reRewrite 5989f28fd8513c6990ddeea0aa49be9dd47918e0 (20/182) (22 seconds passed, reRewrite d864b6e0c203d6bd6a65450b8832e4abc80139f6 (21/182) (24 seconds passed, reRewrite 908d0ae693d411e46ce2b6bc109dd1eac0898020 (22/182) (26 seconds passed, reRewrite b42922635f1c10c2541c4e8f1c24659184bb1358 (23/182) (27 seconds passed, reRewrite f044d1fabbef29bc211779c893e04a8cf4623244 (24/182) (28 seconds passed, reRewrite c5620ad3e31a3cce4f2397555014eb735df2c652 (25/182) (29 seconds passed, reRewrite 0c0351d801d42f8da473a3679320c948eb46f516 (26/182) (31 seconds passed, reRewrite bd72cc13c5c65d592ef4f54cd5f170eac7afda43 (27/182) (32 seconds passed, reRewrite fa387ca6348726c1f4d7f8edddd301b5e78b9c2f (28/182) (33 seconds passed, reRewrite 774c70f675b75c29ae8b1c7963b472b5eabfaa35 (29/182) (34 seconds passed, reRewrite b11e6044c51f33ffca8b3e515199fe31eb68a1d4 (30/182) (35 seconds passed, reRewrite 7e8932b42858f14a785982c98a8d0d6a87b66158 (31/182) (37 seconds passed, reRewrite 14f2375d906459ae4fa9b9e297ae1e2dd23d6b82 (32/182) (38 seconds passed, reRewrite b84e80d2a205f02d7ee0e9c6394d05c860498640 (33/182) (39 seconds passed, reRewrite b055874a82e55f49eaf08adaa657ba4cb346fc51 (34/182) (40 seconds passed, reRewrite 2618f76e7e8fb3d7e4f1fc15f552bf6044a6c18b (35/182) (41 seconds passed, reRewrite 6eabf6e7e8bfba7475e787009b5803cc713f6d3a (36/182) (42 seconds passed, reRewrite 464197ff6b0573b9452124a8ef6fdcd7a95768ef (37/182) (43 seconds passed, reRewrite f2e3faa13498579e7522ada94864313496686b12 (38/182) (45 seconds passed, reRewrite 8796af7ebc73572850d093292460ecaf528fa1d5 (39/182) (46 seconds passed, remaining 168 predicted) error: unable to create file glider-gun-builder/zip/template/specialcases/C:\Users\greedd\Desktop\glider_guns-master (3)\zip\template\specialcases\p00356x5_0_special_p00890,0,0,0.rle: No such file or directory
Could not checkout the index
It started out not looking too bad, but then stopped in the middle, so I have no idea now what the actual state of the repo is. 'git status' says everything is up to date.
Next I might just try re-cloning the repo and see if I can operate on a totally fresh copy any better. Also might look into using the suggested
https://github.com/newren/git-filter-repo/.