git-branch-grep - grep for branch names (and optionally files with them)
This documentation refers to git-branch-grep version 1.1.17
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
Short hand for running
git branch (-r|-a)? | grep -P 'regex'
run ()
Executes the git workflow command
unmerged ($source, $dest)
Check if there are any commits in $source that are not in $dest
$source
$dest
There are no known bugs in this module.
Please report problems to Ivan Wills (ivan.wills@gmail.com).
Patches are welcome.
Ivan Wills - (ivan.wills@gmail.com)
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.
To install App::Git::Workflow, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Git::Workflow
CPAN shell
perl -MCPAN -e shell install App::Git::Workflow
For more information on module installation, please visit the detailed CPAN module installation guide.