[github] 两步通过curl调用github API远程建立仓库(repository)
win10环境下测试成功的通过Curl调用github API远程建立仓库的办法如下:github中申请私人tocken(用户名+密码方式测试没能成功)本地环境下输入curl -u "【用户名】:【申请到的tocken】" https://api.github.com/user/repos -d "{\"name\": \"【仓库名称】\"}" 正文:有通过bash环境调用github API,建立代码库的需求的道友们可以尝试通过上述步骤调用github API接口,建立代码库。关于这个
原创
2022-05-15 07:00:59 ·
926 阅读 ·
0 评论