From 48d5e9ac232e0852645f38f852a58919ee6f6f89 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 15 Apr 2019 20:05:23 +0200 Subject: [PATCH] add some warning --- content/posts/removing-files-from-git-history.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/posts/removing-files-from-git-history.md b/content/posts/removing-files-from-git-history.md index b3fa2bf..d4ad926 100644 --- a/content/posts/removing-files-from-git-history.md +++ b/content/posts/removing-files-from-git-history.md @@ -31,3 +31,5 @@ with just to not wait potential hours for the aggressive GC. For me that was good enough to get some estimate of the later size for my experiments before I settled to some final settings and did the real run. + +**And as always, if you touch your Git history: Do that only if you really need to, keep backups, check carefully that afterwards the repository is in some sensible state (`git fsck --strict` is your friend) and inform all people using that repository that they will need to do a full new clone.**