Unclear It is not clear whether GitHub Enterprise support is always on or depends on a setting.
/ship is the command that pushes your work and opens a pull request. It no longer works only with repositories on github.com. It now also accepts repositories whose remote (the server address git pushes to) is on another GitHub host, such as your company's GitHub Enterprise server.
For these hosts, /ship:
- Runs
gh auth status --hostnameto check that the GitHub command-line tool is signed in to that host. - Sets
GH_HOST,GH_CONFIG_DIRand the token environment variables for that host only. - Refuses to push if you are not signed in on that host.
The old message saying /ship only works with pull requests on github.com now appears only when the host really is github.com. When /ship cannot tell what host a pull request is on, it suggests what to run if the host is your company's GitHub Enterprise server.
Before this change, people whose code lives on GitHub Enterprise could not use /ship at all.
It is not clear whether GitHub Enterprise support is always on or depends on a setting.