Created
May 4, 2018 16:55
-
-
Save scorpiodawg/bcd5c6171e79ec196492a9cea6c3f2ef to your computer and use it in GitHub Desktop.
Github Create Project from bash
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
#U sage: gcreate userName repoName "Description if any" | |
gcreate () { | |
curl -u $1 https://api.github.com/user/repos -d "{\"name\": \"$2\", \"description\": \"$3\"}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Credits to @bogas04 from here: https://gist.github.com/robwierzbowski/5430952