git-jira - Checkout any branch mentioning the passed Jira
This documentation refers to git-jira version 1.1.10
git-jira [option] JIRAID OPTIONS: JIRAID A Jira format id -u --url[=]URL Use URL as the JIRA instance for looking up summaries. -l --list Just list found branch(es) don't checkout -q --quiet Don't inform how to create missing branch -v --verbose Show more detailed option --version Prints the version information --help Prints this help information --man Prints the full documentation for git-Jira
Finds any branch containing the passed Jira issue id and switches to that branch. If none is found then it suggests creating the branch using git-feature. If JIRA::REST is installed the suggestion will use the JIRA summary as part of the name.
run ()
Executes the git workflow command
which_branch (@branches)
Ask the user which branch to switch to
label ($branch)
Adds user and time to a branch unless --quiet used
Defaults for this script can be set through git config
git config
jira.url Specifies the URL for the JIRA instance being used.
You can set these values either by editing the repository local .git/config file or ~/.gitconfig or use the git config command
.git/config
~/.gitconfig
# eg Setting the local value (ie only the current repository) git config jira.url https://jira.example.com/ # eg Setting the global value git config --global jira.url https://jira.example.com/
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.