Skip to content
Discussion options

You must be logged in to vote

Method 1: Keyboard Shortcuts (Fastest in Browser)

  1. Go to your Notifications inbox.
  2. Press Shift + i to select all notifications on the current page.
  3. Press e to mark them as done (archive them).
    The next set will automatically load. Repeating this selection and archive cycle is significantly faster than manual clicking.

Method 2: GitHub CLI (Most Efficient for Bulk)

If you have the GitHub CLI installed, you can mark all notifications as read instantly with this command:

gh api --method PUT /notifications -f last_read_at=$(date -u +%Y-%m-%dT%H:%M:%SZ)

To archive every notification (Mark as Done), you can run this loop:

gh api notifications --paginate | jq -r '.[].id' | xargs -I {} gh api --…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ajm19826
Comment options

Answer selected by ajm19826
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Notifications Keep track of everything happening across all your projects Question Ask and answer questions about GitHub features and usage
3 participants