Skip to content

Instantly share code, notes, and snippets.

@frioux
Last active January 23, 2020 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frioux/3649f7565b89e8857f99 to your computer and use it in GitHub Desktop.
Save frioux/3649f7565b89e8857f99 to your computer and use it in GitHub Desktop.
Unfollow repos that are not mine
#!/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