Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/2kabhishek/gitrim

Tool to trim accidentally pushed or obsolete files from git history. ✂💿
https://github.com/2kabhishek/gitrim

cleanup developer-tools git git-history obsolete-files shell-script utility

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

gitrim


License


People


Stars


Forks


Watches


Last Updated

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

## Installation

Clone this repo using:

```bash
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](https://2kabhishek.blogspot.com/2019/08/trim-unnecessary-files-from-git-history.html) with some discussion.