Skip to content

Dockerized version of GitRocketFilter: Rewrite git branches in a powerful way.

License

Notifications You must be signed in to change notification settings

jcfr/dockgit-rocket-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockgit-rocket-filter

Dockerized version of GitRocketFilter: Rewrite git branches in a powerful way.

jcfr/dockgit-rocket-filter
dockgit-rocket-filter Dockerized version of GitRocketFilter.

Features

The purpose of git-rocket-filter is similar to the command `git-filter-branch <http://git-scm.com/docs/git-filter-branch`_ while providing the following unique features:

  • Fast rewriting of commits and trees (by an order of x10 to x100).
  • Built-in support for both white-listing with --keep (keeps files or directories) and black-listing with --remove options.
  • Use of .gitignore like pattern for tree-filtering
  • Fast and easy C# Scripting for both commit filtering and tree filtering
  • Support for scripting in tree-filtering per file/directory pattern
  • Automatically prune empty/unchanged commit, including merge commits

Installation

This image does not need to be run manually. Instead, there is a helper script to execute it.

To install the helper script, copy the script git-rocket-filter in your PATH:

curl https://raw.githubusercontent.com/jcfr/dockgit-rocket-filter/master/git-rocket-filter.sh \
  -o ~/bin/git-rocket-filter && \
chmod +x ~/bin/git-rocket-filter

Maintenance

To rebuild the image:

git clone git://github.com/jcfr/dockgit-rocket-filter
make build

To publish the image:

docker login -u <user> -p <password>
make push

---

Credits go to sdt/docker-raspberry-pi-cross-compiler, who invented the base of the dockerized script.

About

Dockerized version of GitRocketFilter: Rewrite git branches in a powerful way.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published