Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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'

```



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

https://news.ycombinator.com/formatdoc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: