$ hub version
git version 18.104.22.168 (Apple Git-47)
hub version 1.11.2
when i tried to create a github repo by hub, got this error.
$ mkdir awesome-app && cd awesome-app
$ touch README.md
$ git init
$ git add .
$ git commit -m "initial commit"
$ hub create -d "a simple awesome app"
github.com username: 1272729223
github.com password for 1272729223 (never sored): *********
Error creating repository: Unprocessable Entity (HTTP 422)
I googled it, but found nothing helped.
I've got the same error message in #431, but only when creating a repo under an organization. I am not sure if these are related.
Not sure what's going on here. I'm in the process of adding debugging capabilities to hub so we can figure this out together.
Please update to v1.12.0 to see if your problem persists. If it's the same, in that release you can set the HUB_VERBOSE=1 hub create environment variable to turn on detailed debug output about HTTP traffic which should help us figure out what's going on. After you've done that, feel free to open a separate issue with your info.
HUB_VERBOSE=1 hub create
Had same problem, fixed by update to 1.12.
@1272729 Did you try the latest release?
hi @mislav, sorry for the late reply. i tried another hub simillar tool gh and it workes fine for me. I'll try the updated hub later,and will feedback here. thanks for your quick response!
@mislav , version 1.12.0 is working well. thanks!