Skip to content

Instantly share code, notes, and snippets.

View ethomson's full-sized avatar
:shipit:

Edward Thomson ethomson

:shipit:
View GitHub Profile
@ethomson
ethomson / rewrite-lg2s.sh
Created October 21, 2016 09:48 — forked from carlosmn/rewrite-lg2s.sh
An extremely case-specific implementation of git-filter-branch
#!/bin/bash
# It's no libgit2, but it's pretty useful
. $(git --exec-path)/git-sh-setup
cd_to_toplevel
require_clean_work_tree
set -e