Edit This Page ⓘClicking 'Edit This Page' opens this page on GitHub. You can edit, and save changes, if you are a contributor to the repository. Close the edit page to return to this one.
Github - getting started notes
2022-07-31 (Bill) trials and errors using the Github CLI Manual
- one way to bootstrap a starter wiki as a git repository:
- do need to check Github authorization status; use this:
$ 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
- now we have a repo on Github and here and can proceed with more MWB setups.