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.

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.

Pages that link to this page