From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

git-branch-age - grep tags

VERSION

This documentation refers to git-branch-age version 1.1.20

SYNOPSIS

git-branch-age [option] regex
OPTIONS:
regex grep's perl (-P) regular expression
-a --all All branches (remote and local
-r --remote Remote branches only
-R --reverse Reverse the branch sort order
-u --unmerged
Only show branches not merged to --master
--no-unmerged
Only show branches merged to master
-m --master[=]str
Branch to check against for --unmerged and --no-unmerged
(Default origin/master)
-n --limit[=]int
Limit the out put to this number
-f --format[=]str
Specify a format for the output
eg normal format would be --format="%age %short"
verbose format would be --format="%age %authorname $short"
format keys:
- authordate
- authoremail
- authorname
- body
- HEAD
- objectname
- objecttype
- refname
- short
- subject
-v --verbose Show more detailed option
--version Prints the version information
--help Prints this help information
--man Prints the full documentation for git-branch-age

DESCRIPTION

Short hand for running

git branch | grep -P 'regex'

SUBROUTINES/METHODS

run ()

Executes the git workflow command

unmerged ($source, $dest)

Check if there are any commits in $source that are not in $dest

formatted ($format, $max)

Creates a format for printf to output a line

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2014 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.