This commit is contained in:
Benjamin Hackl 2024-10-11 14:47:33 +02:00
parent ae8efe0a99
commit 950f3703b4

View file

@ -8,3 +8,14 @@ rebase, you can intervene in this process and rearrange
the order; drop some commits; modify commit messages and
file changes; squash some commits together -- or split
them apart.
This is one way to remove secrets that should never have been
added to the repository from the history again. Note that
if a remote is involved, this involves a forced push of
the rewritten branch (plus pruning / garbage collecting
on the server end, if you _really_ want it gone). In
addition, everyone with local copies of the repository
needs to replace their version with the one with the
rewritten history... a long and tedious process.
But, in any case, we are here to learn!