Skip to main content

解决GitHub幽灵通知

飞舞GitHub连个通知都弄不好😅

image-20251004215818839

brew install gh
gh api notifications | jq '.[] | {id, title: .subject.title, repo: .repository.full_name}'
gh api --method DELETE notifications/threads/$THREAD_ID #ID换成上一条命令获取的
gh api --method DELETE notifications/threads/$THREAD_ID/subscription #同理