Last active
January 23, 2020 17:57
-
-
Save frioux/3649f7565b89e8857f99 to your computer and use it in GitHub Desktop.
Unfollow repos that are not mine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# NOTE: This assumes you have installed and configured git-hub; get it here: | |
# https://github.com/ingydotnet/git-hub | |
for org in $(git hub orgs -Ar); do | |
for repo in $(git hub org-repos $org -Ar); do | |
git hub unwatch $repo | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment