Edit This Page ⓘClicking 'Edit This Page' will open a new tab or window to edit this page on the Git forge. You'll need to be signed into the forge to edit. Close the edit page to return to this one.
2022-07-31 (Bill) trials and errors using the Github CLI Manual
$ gh auth status
(this does require (1) Github account; (2) personal access token)$ mkdir mynewrepo
$ cd mynewrepo
$ touch README.md
$ git add README.md
$ git commit -m "baseline commit" README.md
$ git init
$ gh repo create mynewrepo --public --source=. --remote=upstream
$ git branch -M main
$ git remote add origin https://github.com/GH-UserID/mynewrepo.git
$ git push -u origin main