g
helps you quickly access current repo's Github features from command-line:
pr
opens current Pull Request or publishes branch and opens "Create Pull Request" pageg
opens current repo on Githubg pulls
opens "Pull Requests" pageg issues
(g i
) opens "Issues" pageg issues new
(g i n
) opens new issue
The best way to get g
is via Homebrew:
brew tap gtool/g
brew install g
And then follow the instructions in caveats
section.
git clone [email protected]:gtool/g.git ~/.gtool
Initialize g
in your profile. Bash users:
echo 'eval "$($HOME/.gtool/bin/g init -)"' >> ~/.bash_profile
exec bash
Zsh users:
echo 'eval "$($HOME/.gtool/bin/g init -)"' >> ~/.zshenv
source ~/.zshenv
Run g help
to explore available commands.
g help <command_name>
prints usage and other command documentation.
g
is maintained by Vasily Polovnyov
and Max Prokopiev. It is extracted from
fs/fs-tool and based on sub.