I thought it would be handy to allow users to define subsets of references via gitconfig, and for those to be usable by git-sizer to pick and choose what references to scan. For example, maybe you want to ignore GitHub pull request references?
[refgroup "no-pull"]
exclude = refs/pull
then run git-sizer --refgroup=no-pull. Or you want a way to scan branches and tags, but not release tags? Try
[refgroup "normal"]
include = refs/heads
include = refs/tags
excludeRegexp = refs/tags/release-.*
I thought it would be handy to allow users to define subsets of references via gitconfig, and for those to be usable by
git-sizer
to pick and choose what references to scan. For example, maybe you want to ignore GitHub pull request references?then run
git-sizer --refgroup=no-pull
. Or you want a way to scan branches and tags, but not release tags? Tryand then run
git sizer --refgroup=normal
./cc @terrorobe, @ttaylorr