automatic git repo cleaning
Automatic repo cleaning tool
$ dedeadname.sh my-config [email protected]:username/repo.git
It looks like this:
NEW_EMAIL="your-new@email-address"
NEW_NAME="Your New Name"
NEW_USERNAME="your-new-github-username"
OLD_EMAILS=(
"old@email"
"[email protected]"
"..."
)
OLD_USERNAMES=(
"old-username"
"..."
)
REPLACE_FILES=(
"README"
"README.*"
"LICENSE"
"LICENSE.*"
"Cargo.toml"
"Cargo.lock"
"Gemfile"
"Gemfile.lock"
"*.gemspec"
)
REPLACE_PATTERNS=(
"string to search for==>string to replace it with"
"..."
)