Pullgod is a VS Code extension that allows you to view and check out pull requests from your current repository using a "stale-while-revalidate" approach for speed and responsiveness.
Blazing Fast: Uses a local cache to show pull requests instantly while fetching updates in the background.
CI Status: View the build status (success, failure, or pending) for each pull request directly in the list.
Open Changes: Quickly view the git diff for any pull request using the "Open changes" option.
Smart Checkout:
Automatically pulls and checks out the PR branch locally.
Prevents pulling if the local branch has unpushed commits to avoid accidental conflicts.
Integrates with the official "GitHub Pull Requests" extension by focusing its view after checkout.
Auto-Update: Periodically fetches and updates the current branch if it corresponds to an active pull request, is clean, and has no unpushed commits.
Copy PR Summary: Generate and copy a Markdown summary of the PR (including the diff) to your clipboard—perfect for AI-assisted coding or quick reviews.
Clear Information: Shows when each PR was last updated using relative time (e.g., "2 hours ago") and emphasizes PR numbers for easy identification.
Priority Management: Easily mark pull requests as low priority using a multi-select interface.
Prerequisites
GitHub Account: This extension uses VS Code's built-in authentication to interact with GitHub. You will be prompted to sign in if you haven't already.
Git: Your workspace must be a git repository with a GitHub remote.
Contributed Commands
Pullgod: View Pull Requests: Lists pull requests from the origin remote.
Ordered by last checked out, then creation date.
Searchable/Filterable via the Quick Pick interface.
CI status icons are displayed next to each PR.
Selecting a PR will pull and check out the branch locally.
Includes an "Open changes" option at the top to quickly view the diff.
Pullgod: Copy PR Summary to Clipboard: Fetches the current PR's metadata and diff, formatting it as Markdown and copying it to the clipboard.
Pullgod: Update PR Priorities: Batch update 'priority:low' labels on pull requests using a multi-select interface.
Pullgod: Open PR in Browser: Opens the current PR on GitHub (or the pull request list if no active PR is found).
Pullgod: Reply to PR: Opens a reply form in the Pullgod panel to compose and post a comment on the active pull request.
Pullgod: Close PR: Closes the current pull request (requires confirmation).
Configuration
This extension contributes the following settings:
pullgod.openInBrowserStrategy: Controls how pull requests are opened in the browser.
system (default): Opens the PR in your default system browser.
vscode: Opens the PR in an IDE browser tab (Simple Browser).
Local Development
Build Locally
Clone the repository.
Install dependencies:
pnpm install
Bundle the extension:
pnpm run bundle
Pack the extension:
pnpx @vscode/vsce pack --no-dependencies
Use the self-built extension
Open the project in VS Code.
Press F5 to open a new "Extension Development Host" window.
In the new window, open a git repository with a GitHub remote.
Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for Pullgod: View Pull Requests.