g helps you quickly access current repo's Github features from command-line:
propens current Pull Request or publishes branch and opens "Create Pull Request" pagegopens current repo on Githubg pullsopens "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 gAnd then follow the instructions in caveats section.
git clone git@github.com:gtool/g.git ~/.gtoolInitialize g in your profile. Bash users:
echo 'eval "$($HOME/.gtool/bin/g init -)"' >> ~/.bash_profile
exec bashZsh users:
echo 'eval "$($HOME/.gtool/bin/g init -)"' >> ~/.zshenv
source ~/.zshenvRun 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.