Skip to content

Instantly share code, notes, and snippets.

View rabbidrabbit's full-sized avatar

Jonathan Laver rabbidrabbit

View GitHub Profile
@rabbidrabbit
rabbidrabbit / rename.sh
Created March 13, 2012 19:38
Rewrites the SR repos history
#!/bin/bash
git filter-branch -f --tag-name-filter cat --env-filter '
an="$GIT_AUTHOR_NAME"
am="$GIT_AUTHOR_EMAIL"
cn="$GIT_COMMITTER_NAME"
cm="$GIT_COMMITTER_EMAIL"
case "$an#$am" in