Created
January 28, 2013 14:11
-
-
Save marchampson/4655798 to your computer and use it in GitHub Desktop.
Add collaborator from command line
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
curl -i -u "my_user_name:my_password" -X PUT -d '' 'https://api.github.com/repos/my_gh_userid/my_repo/collaborators/my_collaborator_id' |
You're missing a /
in your comment:
gh api -X PUT repos/:owner/:repo/collaborators/SOMEONE
You're missing a
/
in your comment:gh api -X PUT repos/:owner/:repo/collaborators/SOMEONE
An example would have been very good addition to your post
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Or with the GitHub CLI: