Created Managing Github notifications (markdown)
parent
12b3bdd5b3
commit
a5add066da
1 changed files with 25 additions and 0 deletions
25
Managing-Github-notifications.md
Normal file
25
Managing-Github-notifications.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
When you get added to the lbryio github org, you'll automatically be subscribed to all of our repos. This creates a lot of noise in your inbox, and there's no good way to turn this off. Here's how you can deal with it.
|
||||
|
||||
## Option 1: Before you get added
|
||||
|
||||
If you happen to find this page before you get added to the org, you can temporarily disable automatic watching of repos. Go to [your notification settings](https://github.com/settings/notifications) and uncheck the "Automatically watch repositories" checkbox. You can re-check this box after you've been added to the org.
|
||||
|
||||
## Options 2: After you've been added
|
||||
|
||||
If you've already been subscribed to all the notifications, here's what to do. First go to https://github.com/watching and run the following code in your browser console. This will unwatch all the lbryio repos that you're subscribed to.
|
||||
|
||||
```js
|
||||
Array.prototype.forEach.call(document.querySelectorAll('.js-subscription-row'), function(el, i){
|
||||
const isYourOrganisation = el.querySelectorAll("a[href^='/lbryio']");
|
||||
if(isYourOrganisation.length){
|
||||
const button = el.querySelectorAll('button[type="submit"]')[0];
|
||||
if (button.innerHTML == "Unwatch") {
|
||||
button.click();
|
||||
}
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
*source: https://stackoverflow.com/a/27912449*
|
||||
|
||||
Next, go down the list and click Watch on the repos you care about.
|
Loading…
Reference in a new issue