Tool to trim accidentally pushed or obsolete files from git history.
Clone this repo using:
git clone https://github.com/2kabhishek/gitrim
cd gitrim
# Setup symlink, make sure target directory is added to PATH
ln -sfnv $PWD/gitrim.sh ~/Applications/bin
Run gitrim
and you'll be asked to enter full path of the repo.
After this you are presented a menu from where you can select the various commands to execute.
Blog Post with some discussion.