logoalt Hacker News

fastballlast Thursday at 6:31 PM1 replyview on HN

Same happened to me. You can clear it via the CLI, hilariously.

```

gh api notifications\?all=true | jq -r 'map(select(.unread) | .id)[]' | xargs -L1 sh -c 'gh api -X PATCH notifications/threads/$0'

```


Replies

bdcravenslast Thursday at 6:39 PM

HN doesn't support markdown, but you can "code" format it with 2+ spaces.

https://news.ycombinator.com/formatdoc