Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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. ✂💿
- Host: GitHub
- URL: https://github.com/2kabhishek/gitrim
- Owner: 2KAbhishek
- License: gpl-3.0
- Created: 2019-08-26T17:10:38.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-12-15T06:09:11.000Z (2 months ago)
- Last Synced: 2024-12-15T07:19:09.825Z (2 months ago)
- Topics: cleanup, developer-tools, git, git-history, obsolete-files, shell-script, utility
- Language: Shell
- Homepage: https://2kabhishek.github.io/gitrim
- Size: 27.3 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
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.