From 9d283dcdf558ac983339e9942b6210f84e7ee95e Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Mon, 12 Mar 2018 17:58:23 +0100 Subject: Complete rewrite - no need to change the file to configure it (type --help to list arguments) - fix pushed tags --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b29b493..42781c8 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,24 @@ the first time `filter-branch` still requires some time, but following calls can ## Requirements -- recent bash shell -- git 2.5.0 or newer. +- git 2.5.0 or newer +- common commands (`sed`, `grep`, `cut`, `md5sum`) + ## Usage -Get the script, and customize the variables you can find at its beginning. +Get the script and read the syntax using the `--help` option. + + +## Examples + +```sh +./incremental-git-filterbranch.sh \ + --whitelist 'develop master rx:release\/.*' \ + https://github.com/concrete5/concrete5.git \ + '--prune-empty --subdirectory-filter concrete' \ + git@github.com:concrete5/concrete5-core.git +``` ## Legal stuff -- cgit v1.2.3