The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

gu - Day-to-day command-line utilities for git

VERSION

This document describes version 0.03 of gu (from Perl distribution App-GitUtils), released on 2014-08-16.

SYNOPSIS

To activate bash completion:

 % complete -C gu gu; # can be put in bash startup file e.g. .bashrc
 % gu <tab>
 % gu run-hook <tab>

To list available subcommands:

 % gu --subcommands

For help:

 % gu --help

SUBCOMMANDS

info

This is the default subcommand when no subcommand is specified.

 % gu
 % gu info

It displays repo information (currently only .git location).

run-hook (alias: rh)

 % gu run-hook post-commit
 % gu rh pre-commit

are basically the same as:

 % .git/hooks/post-commit
 % .git/hooks/pre-commit

except they can be run anywhere inside the repo, and can use tab completion.

post-commit

 % gu post-commit

is shortcut for:

 % gu run-hook post-commit

info

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-GitUtils.

SOURCE

Source repository is at https://github.com/sharyanto/perl-App-GitUtils.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-GitUtils

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Steven Haryanto.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.