Skip to content

Instantly share code, notes, and snippets.

@kcoyner
Created May 24, 2017 12:37
Show Gist options
  • Save kcoyner/a25d857d8c5252ed891c97ec7e0ef518 to your computer and use it in GitHub Desktop.
Save kcoyner/a25d857d8c5252ed891c97ec7e0ef518 to your computer and use it in GitHub Desktop.
Add a collaborator to a GitHub repo from the command line
curl -i -u "kcoyner:my_password" -X PUT -d '' 'https://api.github.com/repos/kcoyner/my_repo/collaborators/my_collaborator_id'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment