-
-
Save junaid18183/f8d35ae9f3b8fb92eb91bd08b3e78bc0 to your computer and use it in GitHub Desktop.
Add collaborator from command line
This file contains hidden or 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' |
This file contains hidden or 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
My own repos | |
curl -i -H 'Authorization: token secrettocken' https://api.github.com/users/junaid18183/repos |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment