Tutorial 8: GitHub inside QUILL and QUILL Lite
Goal: learn what QUILL can do with GitHub and with Git on your own computer: browse and save files, work with issues and pull requests, manage a repository, and sort out a merge conflict, without opening a browser or a terminal.
QUILL Lite opens the same GitHub Items viewer through File > GitHub Workbench... (Alt+F, then G). Sections about that viewer, including PR review, apply to both apps. QUILL's file opening, repository administration, and Local Git commands described elsewhere in this tutorial are not yet in Lite.
There are three parts, and you can use any of them on its own:
- GitHub browsing and the Items viewer: read/write issues, PRs, branches, commits, releases, workflow runs. Needs a GitHub account for anything beyond public browsing.
- Repository administration: create, fork, rename, and configure repositories from QUILL. Needs a signed-in account for everything.
- Local Git: accessible merge-conflict resolution and interactive rebase. Needs no GitHub account at all; works on any local repository.
A shorter way to all of it. Turn on View
> GitHub Workbench Mode (Alt+V, then
K), in either app. A GitHub menu joins the
menu bar after Tools (Alt+G), and the GitHub rows of the
File and Tools menus move into it, next to rows that open the views
below in one step: Inbox..., Issues and Pull
Requests..., Actions Runs... and the rest. The
menu paths in this tutorial are the ones you see with the mode off; with
it on, look in the GitHub menu instead. While it's on, the status bar
has a Workbench cell naming the repository you're
working in; press F6 and arrow to it to check. Turn the
mode off from the same place, or with GitHub > Leave
Workbench Mode.
0. Sign in (once)
The first time you touch any GitHub feature, QUILL shows a one-time consent dialog telling you it will connect to api.github.com. Accept it, then:
- File > Open from Remote > Manage GitHub
Accounts... In QUILL Lite it's File > Manage GitHub
Accounts... (
Alt+F, thenH). - Sign In with GitHub..., the first button. QUILL puts a short code on the clipboard, opens github.com/login/device in your browser, and moves you to the code, which it spells out a character at a time.
- In the browser, paste the code, choose Continue, then Authorize.
- Come back to QUILL. The window closes by itself and you hear "Added and switched to GitHub account" and your username. What GitHub gave QUILL is kept safely in Windows Credential Manager or the macOS Keychain, never in a plain file.
The code lasts about fifteen minutes; if it runs out, choose Sign In with GitHub again for a new one. If your organization makes members ask before an app can see its repositories, approve QUILL once on GitHub, under Settings > Applications > Authorized OAuth Apps (chapter 10 of the GitHub guide has the details).
That's all most people ever need. There is also an Add Token (Advanced)... button, for a few special cases such as an organization that blocks sign-in apps; chapter 10 of the GitHub guide, "Advanced: using a token", explains when and how.
You can browse public repositories without signing in, though GitHub limits how many requests you can make. Everything that writes to GitHub needs an account; if you try a write command without one, QUILL offers to sign you in right there instead of just refusing.
1. Browse, open, and save a file
- File > Open from Remote > GitHub Repository...
- Type an
owner/repo(tryoctocat/Hello-Worldif you don't have one handy) and press Enter. - Arrow through the file list: folders first, then files. Enter opens a folder or a file.
- Edit the file, then File > Open from Remote > Commit to GitHub... and type a commit message. QUILL commits straight to the same repository, branch, and path.
To work on a whole repository in a folder of your own, File
> Open from Remote > Clone Repository... copies it to
your computer: type owner/name, choose a folder, and press
Clone. QUILL Lite has it as File > Clone
Repository... (Alt+F, then Y). When
it is done you can open a file from the new folder.
If you already have the URL, File > Open from Remote >
GitHub File URL... skips the browsing. Paste a
github.com/owner/repo/blob/branch/path link and QUILL
fetches it directly.
2. The Items viewer: issues, PRs, branches, and everything else
File > Open from Remote > GitHub Items... opens a list, with details underneath, of one repository's issues, pull requests, branches, commits, tags, releases, workflows and workflow runs. Many of its ideas come from GHManage, Kelly Ford's free GitHub browser for screen reader users, and we are grateful for it.
- Type
owner/repo, anhttps://github.com/owner/repoURL, or agit@github.com:owner/repo.gitremote, then press Load. QUILL understands all three. (If your current document lives inside a git checkout whose origin points at GitHub, the field is already filled in.) - Pick a View. Start with Issues & PRs. Show, State, and Sort filter that view further. Columns... picks which fields show as columns in the list. Uncheck the ones you do not need, and QUILL remembers your choice.
- Select a row; the details pane loads its full text, then its comment thread. Alt+N / Alt+P jump between comments, and QUILL tells you "Comment 2 of 5."
- Press M to toggle List mode
between Quick (compact) and Full (every cell spoken as
field: value).
On a selected row, Shift+F10, the Applications key, or right-click opens a context menu at the row. Every item offers Open on GitHub, Copy Link, Copy Details, and Add to or Remove from Favorites. PRs add Open Review and Open File Differences; branches add Compare Branches; workflow runs add View Artifacts. Issues and PRs offer Summarize Discussion when AI is available. A signed-in session also offers More Write Actions. With no row selected, the menu offers Refresh and, in Issues & PRs when signed in, New Issue and New Pull Request. The same menu works from the details field, so reading a long item does not force you to return to the row before opening its actions.
Search (Ctrl+F) takes full GitHub search syntax for
the loaded repo: try label:bug is:open. Quick
filter (Ctrl+Shift+F) is different. It narrows the list you
already have as you type, without going online. Escape clears it.
Pinned... keeps a short list of repos you jump back to
often; Ctrl+D favorites the selected row from any repo,
and Favorites... lists everything you've bookmarked
across all of them.
Running a workflow
Switch to the Workflows view to see the repository's
workflow definitions (the .yml files themselves, not their
run history). Select one and press Enter (or
Actions... > Run ... on Branch...) to run it. QUILL
asks for the branch, checks with you, and tells you whether GitHub
started the run. You need to be signed in. If a workflow cannot be run
by hand (workflow_dispatch), QUILL tells you so. The
separate Workflow Runs view still shows run history and
lets you re-run or inspect artifacts from a past run.
Reading a pull request's actual changes
Select a PR row and press Diff.... QUILL fetches both sides of every changed file and runs them through the same compare tool as Compare Documents. You move through the changes one at a time, hearing things like "Difference 2 of 5, text changed at line 41", instead of reading a raw patch.
Reading and responding to a pull request review
In Issues & PRs, select a pull request and choose Review.... The header states merge readiness, the current approval decision, check status, and the number of review threads. The main control is a native Pull request outline. It is a tree: the PR contains Changed files, optional General conversations, and Checks. Each file contains its review threads. A thread announces its line, author, reply count, and whether GitHub marks its original hunk outdated. Files without comments still appear when GitHub supplies the changed-file inventory.
- Start on the PR node. Press Right Arrow to expand or Left Arrow to collapse a branch. Up Arrow and Down Arrow move among visible nodes. Expanding a file exposes its threads. The outline is the place to navigate; the adjacent, read-only details field follows the selection.
- Select a thread, then press Tab to read its complete conversation in order. Use your screen reader's normal text reading keys. Shift+Tab returns to the outline. The detail field is copyable and never posts merely because you read it. Enter on a thread moves focus into that field.
- Ctrl+R on a selected thread or in its details opens a reply prompt. Type your reply and accept to post it. Shift+F10, the Applications key, or right-click opens the same context menu: Reply to Thread, Copy Conversation, Copy Thread Link, Open File Differences, and Open Thread on GitHub, and Resolve Thread or Reopen Thread when GitHub grants permission. Ctrl+Shift+R toggles the selected thread's resolution after confirmation. Reply is unavailable when you are signed out or the PR is closed or merged.
- Select a file and press Enter or use its context menu's Open File Differences action. That opens the accessible compare window for the PR's changed files. Copy File Name is also in the file menu. A thread's file and line are announced in the outline and details. From a thread, Open File Differences selects its file and points to that exact changed line when GitHub supplies a current patch position. For an outdated or missing position, QUILL says it cannot locate the line and leaves the file readable.
- Expand Checks, select a check, and read its state and summary in the details field. Enter or Open Check on GitHub in its context menu opens the job when GitHub provides a link. Copy Check Details copies the selected detail text. The separate Checks list also offers the runs.
- On the PR or a category node, the context menu offers Submit Review, Request Reviewers, Convert to Draft or Mark Ready, Update Branch, Copy Review Summary, Copy Pull Request Link, and Open Pull Request on GitHub. The visible buttons offer these review actions as well. The summary field remains separately readable and copyable.
Submit Review asks you to choose Approve, Request changes, or Comment. Changes requested and comment reviews need a message. Updating a branch merges the base branch into the PR branch after confirmation; check the destination before accepting. Review actions are disabled for a closed or merged PR.
The outline announces whether each thread is resolved or unresolved. QUILL loads that state through GitHub's review-thread API for signed-in accounts. When the API cannot supply it, the conversation remains readable and the details explain why its resolution actions are unavailable. Refresh after a teammate changes a thread on GitHub.
Explore GitHub across repositories
From GitHub Items, choose Explore.... This second native window uses a results list above a copyable detail field. Arrow through results, Tab into details, and Shift+Tab back to the list. Enter or Open on GitHub opens a result in your browser; Use Repository loads a selected repository into the Items viewer. Shift+F10, the Applications key, or right-click exposes actions for the selected row.
Choose Global issue and PR search and enter GitHub
search terms such as is:open review-requested:@me.
Save Search stores that query on this computer;
Saved Searches... lets you run or remove one.
My Work brings together items you authored, are
assigned, were asked to review, or were mentioned in. My
activity feed lists recent account events. Repository
chooser starts with pinned and recent repositories; other views
show your repositories, starred and watched repositories, people, gists,
notifications, and a person's public activity and connections.
For a repository, choose Overview,
Activity, People,
Forks, Labels, GitHub Pages
and builds, or Security Alerts and type its
owner/repo. The context menu offers star/watch changes and
label management when you are signed in and GitHub allows them.
Notifications can be marked read. GitHub Pages and security views may be
unavailable for a repository; the status field reports the API error
instead of inventing data.
In Workflow Runs, open Jobs and Logs for a selected run to inspect each job and read its text log. View Artifacts shows available downloads. These commands use GitHub's run ID even when the displayed run number differs.
Comparing two branches
Switch to the Branches view, select one, and press Compare... (or Ctrl+Shift+B). This works without signing in, because it never changes anything on GitHub. Type the base branch, then the branch to compare against it (the selected row prefills the second prompt). QUILL tells you how far apart the two are and lists every commit between them. On the Changed Files tab, you can go through each file's changes the same way as with Diff.... Enter on a branch drills into its Commits; Backspace in the Commits view steps back out to the branch list.
Getting a TL;DR
Select a long issue or PR and press Summarize. QUILL's AI sums up the whole discussion: what it is about, where it stands, and what is still open. It uses the AI you have already set up. If you have not set one up, it offers to help you do that.
3. Writing back: the Actions and Batch menus
Everything so far works read-only. Signed in, two more buttons appear.
Batch... applies close, reopen, or add-label to every checked row at once (hold Shift or Ctrl to check several). A confirmation names the exact action and the exact item numbers before anything changes.
Actions... is context-sensitive to what you're looking at:
- In Issues & PRs: New Issue... / New Pull Request... prompt for a title, body, and (for a PR) head/base branches. With a single unmerged PR selected, Merge Pull Request #N... also appears. Retype the PR number to confirm, because a merge is hard to undo.
- With a comment thread loaded: Reply to Thread... posts a new comment. Navigate to a specific comment with Alt+N/Alt+P first, and Edit This Comment... / Delete This Comment... also appear (GitHub only lets you edit or delete your own comments).
- In Branches: select one and Delete Branch... appears. Retype the branch name to confirm.
- In Workflow Runs: select one and Re-run Workflow appears.
Try it: load a repo you maintain, select New Issue..., give it a title, and watch it appear in the list after you confirm.
4. Repository administration (Tools > Git and GitHub > GitHub)
Everything above works on repositories that already exist. Tools > GitHub creates and configures them.
- Create Repository...: name, description, private or public, and an optional organization. As soon as it is created, QUILL asks whether to set up a folder on your computer that stays in step with it. Say yes, pick a folder, and you are ready to go.
- Fork Repository...: same local-sync offer afterward.
- Rename Repository..., Change Repository Visibility..., Change Default Branch..., Delete Branch...: for renaming, changing visibility and deleting a branch, you type the name again to confirm; visibility changes warn extra loudly when you're about to make something public.
- Configure Branch Protection...: pick a branch, then either set required approving reviews and required status checks, or check "remove all protection instead" to clear existing rules.
- Commit Multiple Files...: pick several local files with a file browser, choose a branch and a commit message, and QUILL commits all of them together. This is different from Commit to GitHub (section 1), which only ever handles the one document you have open.
All eight commands are in the Command Palette and ship default keyboard shortcuts through the QUILL Key (press your QUILL Key, then the listed letter): Create = Shift+K, Fork = Shift+F, Rename = Shift+E, Visibility = Shift+V, Default Branch = Shift+B, Branch Protection = Shift+L, Delete Branch = Shift+X, Commit Multiple Files = Shift+U.
Organizations, releases, workflows, notifications, security
There are five more commands in Tools > Git and GitHub > GitHub:
- Browse Organization Repositories...: pick an organization you belong to, then one of its repositories, and QUILL opens it straight into the Items viewer.
- Create Release...: a tag, optional title, and either your own notes or GitHub's auto-generated notes from merged PRs since the last release.
- Dispatch Workflow...: run a workflow on a branch or tag, the same as clicking "Run workflow" on github.com.
- Notifications...: an inbox for every repository you have access to, not just the one you have loaded. Selecting one opens it and marks it read.
- Security Alerts...: a repository's open Dependabot alerts: severity, affected package, and a summary, so you know what needs attention without a browser.
5. Local Git: resolving conflicts and rebasing, out loud
This part is different. Tools > Git and GitHub > Local Git needs no GitHub account and does not go online. It works on any Git repository on your computer. It is here because two everyday Git jobs, sorting out a merge conflict and reordering commits with an interactive rebase, are very hard with a screen reader in most other tools.
Try this with a real (or throwaway test) repository:
- Uncommitted Changes...: lists everything you've changed since your last commit, staged and unstaged. Select a file to hear what changed in it (the same way Compare Documents reads changes); Stage / Unstage it, or Stage All.
- Switch Branch...: pick a local branch from a list. If you have uncommitted changes, QUILL asks whether to switch anyway and bring them with you. It never throws them away.
- Stash Changes... / Manage Stashes...: put work aside with a name, then list, apply, or drop it later.
- Who Wrote This Line...: with your cursor on a line in an open file that's part of a git repo, this speaks who last touched that line, when, and the commit's summary.
- Start Bisect...: give it a known-bad and a known-good commit, and QUILL checks out the midpoint and asks "Is this version good or bad?" Answer, and it narrows down to the exact commit that introduced the problem. End Bisect when you're done.
Resolving a merge conflict without decoding markers
Create a real conflict (or find one) and run Resolve
Conflicts.... Instead of
<<<<<<</=======/>>>>>>>
markers, you get: "Conflict 1 of 3 in file.py: your version
says X, their version says Y," with your version /
their version / both / edit
manually as your choice. Work through every conflict in every
affected file; QUILL writes the resolved content back and stages it. The
same walker opens automatically if a rebase (next) or a Sync
Folder with GitHub stops on a conflict, so you never have to
switch to another tool halfway through.
Interactive rebase, as a real dialog
Interactive Rebase... asks which commit to rebase onto, then shows every commit since then as a list, instead of a text file you have to edit by hand. Pick an action per row (pick, squash, reword, drop) from a dropdown, and reorder with Move Up / Move Down. Press Start Rebase. If a step conflicts, the conflict walker above opens automatically; resolve it and the rebase continues on its own. Abort Rebase restores your branch exactly as it was if you change your mind.
The ten Local Git commands do not have keyboard shortcuts to start with, because every letter after the QUILL Key is already in use. All ten are in the Command Palette and the Tools > Git and GitHub > Local Git menu, and you can assign your own shortcuts in Preferences > Keyboard Shortcuts.
6. Syncing a whole folder
One more command: Tools > Sync Folder with GitHub... keeps a whole folder in step with GitHub, such as a writing project or a notes folder. It works the same way as Sync Vault in Start an Accessible Vault, but on any folder you choose.
In short
Browse and save individual files without an account; sign in once for everything else. The Items viewer's Batch... and Actions... menus cover everyday work on issues and pull requests. Tools > Git and GitHub > GitHub creates and manages repositories. Tools > Git and GitHub > Local Git covers the Git work on your own computer, like merge conflicts and interactive rebase.
To try all of this somewhere nothing can go wrong, Practise GitHub safely gives you a practice repository and walks you through reviewing, merging and fixing a failing check in your own copy.