Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Check a Git working copy is in the right branch. Primarily written for puppetmasters to make sure prod and staging environment dirs had the right branches checked out in them
Current Version
Last Release Date
October 3, 2013
Owner
Hari Sekhon
Website
https://github.com/harisekhon/nagios-plugins
Download URL
Compatible With
Part of the Advanced Nagios Plugins Collection, download it here:
./check_git_branch_checkout.pl --help
Nagios Plugin to check a Git working copy is in the right branch.
Primarily written for puppetmasters to make sure prod and staging environment dirs had the right branches checked out in them
usage: check_git_branch_checkout.pl [ options ]
-d --directory Directory path to git working copy -b --branch Branch to expect working copy checkout to be --git-binary Path to git binary. Defaults to 'git' -h --help Print description and usage options -t --timeout Timeout in secs (default: 10) -v --verbose Verbose mode -V --version Print version and exit
You must be logged in to submit a review.
To:
From: