GitHub

Using GitSniper with GitHub pull requests.

GitSniper fully supports GitHub, including both github.com and GitHub Enterprise.

Supported Features

All GitSniper features work with GitHub:

Feature Support
Comment extraction Full
Diff context Full
Threading Full
Custom preambles Full
Author filtering Full
Clipboard history Full
Expand references Limited

Where to Find the Button

On a GitHub pull request, the GitSniper button appears in two locations:

Conversation Tab

Near the top of the conversation view, alongside other PR actions.

Files Changed Tab

When viewing the diff, the button is accessible from the review toolbar.

Comment Types Captured

GitSniper extracts these GitHub comment types:

Review Comments

Comments left during a formal review (Approve, Request Changes, or Comment). These include:

  • Inline comments on specific lines
  • General review comments
  • Suggested changes

Conversation Comments

Comments in the main PR thread (not attached to specific code).

Resolved Threads

Threads marked as resolved are still extracted, with their resolution status noted.

GitHub-Specific Formatting

Suggested Changes

GitHub's suggested changes feature appears as:

COMMENT (@reviewer):
Use optional chaining here.

SUGGESTED CHANGE:
-  const name = user && user.name;
+  const name = user?.name;

Reactions

Emoji reactions on comments are captured as text:

COMMENT (@reviewer):
Great improvement to the error handling!
[Reactions: +1 (3), heart (1)]

Review Status

The reviewer's overall verdict is included when available:

REVIEW (@senior-dev) - CHANGES REQUESTED:
...comments...

Limitations

Expand References

GitHub's API is more restrictive than GitLab's. Expanding links to code requires authentication and may hit rate limits. For best results with link expansion, use a logged-in session.

Draft PRs

Draft PRs work normally. All comments are extracted regardless of draft status.

Private Repositories

GitSniper works with private repositories you have access to. It uses your existing browser session for authentication.

GitHub Enterprise

Self-hosted GitHub Enterprise instances work automatically. GitSniper detects GitHub's interface patterns regardless of domain.

Tips for GitHub

Use the Files Changed Tab

For PRs with many inline comments, extracting from the Files Changed tab often provides better diff context than the Conversation tab.

Filter Bot Comments

GitHub has many integrations that comment on PRs. Common bots to exclude:

  • @github-actions
  • @dependabot
  • @codecov
  • @sonarcloud
  • @vercel
  • @netlify

Review Summary First

GitHub shows a review summary at the bottom of each review. GitSniper captures individual comments but also includes this summary context.

Troubleshooting

Button Not Appearing

If the GitSniper button doesn't appear:

  1. Refresh the page
  2. Ensure you're on a PR page (not the repo overview)
  3. Check that the extension is enabled
  4. Try disabling other extensions that modify GitHub's interface

Incomplete Extraction

If some comments are missing:

  1. Expand all collapsed threads
  2. Load all comments (click "Load more" if present)
  3. Scroll through the entire PR to ensure all content is loaded
  4. Extract again

Authentication Issues

If links aren't expanding or private content isn't accessible:

  1. Ensure you're logged into GitHub
  2. Refresh the page to re-establish session
  3. Check that you have access to the referenced repositories