Skip to content

Instantly share code, notes, and snippets.

@maxandersen
Created September 21, 2012 15:28
Show Gist options
  • Save maxandersen/3762177 to your computer and use it in GitHub Desktop.
Save maxandersen/3762177 to your computer and use it in GitHub Desktop.
cat repos.txt | sed -e s/jbosstools-//g | xargs -n 1 -I {} curl -u 'maxandersen:secret' https://api.github.com/orgs/jbosstools/teams -d '{name:{}, permission:push }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment