/gitrim

Tool to trim accidentally pushed or obsolete files from git history. ✂💿

Primary LanguageShellGNU General Public License v3.0GPL-3.0

License People Stars Forks Watches Last Updated

Tool to trim accidentally pushed or obsolete files from git history.

Installation

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

Usage

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.

More Info

Blog Post with some discussion.