Skip to content

Instantly share code, notes, and snippets.

@keckelt
Last active June 19, 2020 10:03
Show Gist options
  • Save keckelt/85f3b758db4e4236a684c6944218ac4d to your computer and use it in GitHub Desktop.
Save keckelt/85f3b758db4e4236a684c6944218ac4d to your computer and use it in GitHub Desktop.
Unwatch Github Organization

Bulk unsubscribe from all repos of an organization.

How To:

  1. Go to: https://github.com/watching
  2. Open Console
  3. Paste the script adjusting your:
  • Organization Name (here: jku-icg-classroom)
  • Watch Settings:
    • included = Not watching (Be notified only when participating or @mentioned.)
    • release_only = Releases only (Be notified of new releases, and when participating or @mentioned.)
    • subscribed = Watching (Be notified of all conversations.)
    • ignore = Ignoring (Never be notified.)
  1. Refresh page and repeat
document.querySelectorAll('a[title^="jku-icg-classroom"]').forEach((repo_anchor) => {
repo_anchor.parentElement.parentElement.querySelector('button[value="included"]').click()
});
@keckelt
Copy link
Author

keckelt commented Jun 19, 2020

Ran on 2020-06-19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment