How to create a gist on command line
问题 I am trying to create a gist from bash, and I have tried many versions scripts I could get, but none are working. This seems like a correct one, but it does not work also. curl -X POST -d '{"public":true,"files":{"test.txt":{"content":"String file contents"}}}' https://api.github.com/gists I have a test.txt file with content I would like to create the gist, but it won't work. It says, invalid email , if I try to add -u USER or -u USER:PASS it still won't work saying "message": "Problems