Created
March 19, 2021 12:47
-
-
Save pavarov/7b91ca0baea48b2364366497470c82cb to your computer and use it in GitHub Desktop.
git api notes
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
create repo: curl -u login:token https://api.github.com/user/repos -d '{"name": "new-rep", "private": 'true} | |
delete repo: curl -X DELETE -H 'Authorization: token xxx' https://api.github.com/repos/ppivovarov/new-r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment