mcasper / git-clean

A Command Line Tool written in Rust for cleaning up local and remote Git branches
MIT License
54 stars 9 forks source link

git-clean is an unfortunate name since git clean also exists #28

Closed mvz closed 7 years ago

mvz commented 7 years ago

This is confusing:

$ git clean -h
usage: git clean [-d] [-f] [-i] [-n] [-q] [-e <pattern>] [-x | -X] [--] <paths>...

    -q, --quiet           do not print names of files removed
    -n, --dry-run         dry run
    -f, --force           force
    -i, --interactive     interactive cleaning
    -d                    remove whole directories
    -e, --exclude <pattern>
                          add <pattern> to ignore rules
    -x                    remove ignored files, too
    -X                    remove only ignored files

$ git-clean -h
Usage: git-clean [options]

Options:
    -l, --locals        only delete local branches
    -r, --remotes       only delete remote branches
    -y, --yes           skip the check for deleting branches
    -s, --squashes      check for squashes by finding branches incompatible
                        with master
    -R, --remote REMOTE changes the git remote used (default is origin)
    -b, --branch BRANCH changes the base for merged branches (default is
                        master)
    -i, --ignore BRANCH ignores given branches
    -h, --help          print this help menu
    -v, --version       print the version
mcasper commented 7 years ago

Hey there!

I agree it is a little bit of an unfortunate name, I was trying to avoid name collisions with a few other projects similar to this one.

Feel free to reopen if you have any good ideas!