gh)
being installed and authenticated on the registered host that owns the
workspace.
Setup
There is no need to configure GitHub in the Jaidu settings manually. The integration works when GitHub CLI is available on the selected host.Automatic Setup
When you attempt to create your first Pull Request, Jaidu will check if the GitHub CLI is available. If it’s not found or not authenticated, you will be guided through the setup process:- On macOS: You will see a dialog offering to install the GitHub CLI via Homebrew automatically.
- On Windows/Linux: You will be provided with instructions to install the CLI manually.
Manual Setup
You can also set up the integration manually in your terminal before using Jaidu:- Install GitHub CLI: Follow the official installation instructions for your host operating system.
- Authenticate: Run the following command in a terminal on the host and follow the prompts:
Select GitHub.com, choose the remote protocol used by your repository, and complete the login flow.
Creating a Pull Request
Once the GitHub CLI is ready, you can create pull requests directly from a workspace:- Open a workspace that has changes you want to merge.
- Click the Create PR button.
- Review the pre-filled title, description, and base branch.
- Click Create to open the PR on GitHub.