Skip to content

Instantly share code, notes, and snippets.

@mbvgua
mbvgua / update_repo.md
Last active May 11, 2026 08:12
In instances where you might accidentally commit your private email across multiple repositories,here is a quick script that corrects that instantly.
#!/usr/bin/env bash

set -eou pipefail

MAILMAP="../mailmap.txt"
REPLACEMENTS="../replacements.txt"
REPOS=(
  # place repos
  # that you want to edit here