NAME
git-branch-grep - grep for branch names (and optionally files with them)
VERSION
This documentation refers to git-branch-grep version 1.1.20
SYNOPSIS
git-branch-grep [--remote|-r|--all|-a] regex
git-branch-grep ((-s|--search) regex) [--remote|-r|--all|-a] regex -- file(s)
OPTIONS:
regex grep's perl (-P) regular expression
file When a file is specified the regexp will be run on the file
not the branch name.
-r --remote List all remote branches
-a --all List all branches
-v Find all branches that don't match regex
-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
-s --search[=]regex
Search term for looking within files
--verbose Show more detailed option
--version Prints the version information
--help Prints this help information
--man Prints the full documentation for git-branch-grep
Note: to search in all branches set the regex to ''
eg git branch-grep --search thin '' -- file1 file2
DESCRIPTION
Short hand for running
git branch (-r|-a)? | 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
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.