A Heroku CLI plugin for GitHub intergration
$ npm install -g heroku-github-plugin
$ heroku COMMAND
running command...
$ heroku (-v|--version|version)
heroku-github-plugin/0.0.0 darwin-x64 node-v12.21.0
$ heroku --help [COMMAND]
USAGE
$ heroku COMMAND
...
Push a branch from the connected GitHub repo
USAGE
$ heroku github:push [BRANCH]
OPTIONS
-a, --app=app (required) app to run command against
-h, --help show CLI help
EXAMPLE
$ heroku github:push main -a my-app
See code: src/commands/github/push.ts