From 51ee0b6de4dceedc2ee72cf2a814f62d0d3f1273 Mon Sep 17 00:00:00 2001 From: Drew Wyatt Date: Sun, 21 Apr 2019 19:02:36 -0400 Subject: [PATCH] update readme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - add example on alternate —force usage - add interactive examples --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index d933eec..344433d 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,20 @@ $ gitclean # executes "git branch -d" on ": gone" branches ```bash $ gitclean -f # same as above, but with "-D" instead of "-d" +# or +$ gitclean --force +``` + +**Interactive** + +Present all ": gone" branches in a checkbox list, allowing user to opt-in to deletions. + +```bash +$ gitclean -i +# or +$ gitclean --interactive +# with force: +$ gitclean -if +# or +$ gitclean --interactive --force ```