Skip to content

Instantly share code, notes, and snippets.

@Gravifer
Created October 10, 2025 22:49
Show Gist options
  • Select an option

  • Save Gravifer/4317438fd85d91fe186df65cefc0d915 to your computer and use it in GitHub Desktop.

Select an option

Save Gravifer/4317438fd85d91fe186df65cefc0d915 to your computer and use it in GitHub Desktop.
GitHub ghost notifications powershell fix
# <https://github.com/orgs/community/discussions/6874>, where I cannot even find the source of the Bash version I based this on; this Web UX is c**p
gh api `
--method PUT `
-H "Accept: application/vnd.github+json" `
/notifications `
-f last_read_at="$(date -Format +'YYYY-MM-DDTHH:MM:SSZ')" `
-F read=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment