Group::Git::Cmd::Watch - Watch for changes in repositories and run a command
This documentation refers to Group::Git::Cmd::Watch version 0.7.1.
group-git watch [options] ([--show|-w]|command) Options: -w --show Show when a repository has changed -o --once Run the command only once for each itteration through all repositories when one or more repositories change. -s --sleep[=]seconds Sleep for this number of seconds between each checking if the repositories have changed (Default 60) -v --save Store the state of each repository so if re-run the program changes since the last run are shown. -a --all Check all branches (not just the current branch) for changes -c --config[=]file Use inconjunction with --save to name the file to save to (Default group-git-watch.yml)
watch ($name)
Runs git watch on each directory if the watch message includes:
"nothing to commit"
The watch is suppressed to keep the output clean. This can be overridden if verbose is set.
watch_start ()
Process the command line arguments for watch
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) 2013 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 Group::Git, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Group::Git
CPAN shell
perl -MCPAN -e shell install Group::Git
For more information on module installation, please visit the detailed CPAN module installation guide.