github / github/git-sizer

Add new convenience options like `--no-branches`, `--stash`, etc.

Open
#77 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
4.1k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

All of the following can be accomplished using reference filtering (#75), but we could add new options to make them a tad more convenient (and these options would nicely complement `--branches`, `--tags`, and `--remotes`):

* `--no-branches` — equivalent to `--exclude=refs/heads`
* `--no-tags` — equivalent to `--exclude=refs/tags`
* `--no-remotes` — equivalent to `--exclude=refs/remotes`
* `--notes` / `--no-notes` — equivalent to `--include=refs/notes` / `--exclude=refs/notes`
* `--stash` / `--no-stash` — equivalent to `--include=refs/stash` / `--exclude=refs/stash`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.