Unit #0-18

Learning Outcome

At the end of this lesson, you will be able to:

  • use GitHub from the terminal

Lesson

  • so you have been making GitHub repos from the website, over and over and over again by hand

    • how many click does it actually take

  • can I not automate this process?

  • to load it do the following:

# load GitHub CLI
sudo apt update
sudo apt install gh -y
    • then you will have to set it up once

      • you need to connect your SSH key you previously created and you will need a web "token" as well:

gh auth logingh repo create ICS4U-Unit1-00-Java --public --gitignore "Java" --add-readme --clone
  • add the loading of GitHub CLI to your dot file

    • as well as the logining in and authentication process