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

gh-open - Open a browser window with the GitHub URL of the repository which you are currently inside of

VERSION

version 1.000001

SYNOPSIS

# open repo for remote "origin" on GitHub using your default browser
gh-open

# open repo for remote "upstream" on GitHub using your default browser
gh-open upstream

# open repo to your current branch
gh-open -b
gh-open --branch upstream

# print (echo) URL to screen rather than opening it
gh-open -e
gh-open --echo -b
gh-open -e -b upstream

# get current version
gh-open -v

# display usage help
gh-open -h
gh-open --help

AUTHOR

Olaf Alders <olaf@wundercounter.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Olaf Alders.

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