Skip to content
Yardmaster Guide

Connect GitHub

Sign in to GitHub once to copy your repositories into new projects and let your agents push and open pull requests as you.

Intermediate3 minutes
Open in YardmasterOpens Yardmaster. Don't have it? Download
Yardmaster

Yardmaster uses your GitHub sign-in to copy a repository from GitHub into a new project, and to let your agents push code and open pull requests under your name. You sign in once, through GitHub's own command-line tool, the GitHub CLI.

Sign in and copy a repository#

  1. Click the + at the top of the projects column, then Add Project, and choose GitHub.

  2. If it says Set a default folder to unlock GitHub cloning, click Choose Default Projects Folder and pick the folder your projects go in.

  3. If it says Install GitHub CLI to browse your repos, click GitHub CLI to download it, install it, then close and reopen this window.

  4. Click Connect GitHub. An Authorize GitHub window shows a one-time code, and GitHub opens in your web browser.

  5. Click Copy code, paste it on the GitHub page and approve. The window closes by itself when GitHub confirms.

  6. Pick the account or organization, find the repository with Filter repos... and click it.

  7. Click Clone & Create Project.

You can also paste a link into Repository URL (or type it short, like owner/repo) without signing in, for a public repository. The copy lands in your Default Projects Folder; see Projects.

Closing the Authorize GitHub window cancels the sign-in.

What your agents can do with it#

The sign-in itself stays with the GitHub CLI on this computer. Yardmaster asks the GitHub CLI for it when needed and keeps a copy in memory only, checking it again about every 30 seconds. Nothing is sent to Yardmaster's servers.

Switch GitHub accounts#

If you change accounts in the GitHub CLI and a session still acts as the old one, open Settings > Diagnostics and click Refresh GitHub auth. The next session you start picks up the new account.

Refresh GitHub authSettings, DiagnosticsClear the cached GitHub token after gh auth switchOpen in YardmasterOpens Yardmaster. Don't have it? Download

To disconnect GitHub completely, sign out of the GitHub CLI (gh auth logout in a terminal).

Where did the Pull Requests and Issues tabs go?#

The built-in GitHub, Pull Requests, GitHub Issues, Code Search and GitHub Releases sidebar entries were removed. Pull requests and issues now come from:

  • Reviewer, for pull requests you write or review; see Reviewer.

  • PR Merge Queue, for seeing and merging your open pull requests; see Work with pull requests. A GitHub plugin was planned for the Marketplace, but the Marketplace has no plugins today, so issues are read on github.com.

Did this help?