commit history

The full chain of commits in a repository, which keeps every past version of every file, including deleted secrets.

In more detail

Deleting a leaked key changes only the latest version; every clone, fork and cache still has the commit. Revoke and rotate the key first, then rewrite history with a tool such as git filter-repo.

Related terms

Taught in

References