PBS logo with mask

CCATP #686 – Bart Busschots on PBS #117 of X – Introducing GitHub

In this week’s installment of Programming By Stealth, Bart teaches us how to use GitHub as a public repository for our code, or for anything we write for that matter. He reviews why he chose Github, and then we dig right in. He does explain the benefits of using SSH to access Github instead of HTTPS, and if you haven’t set up SSH keys before or you’re rusty on the topic, he includes links to our sibling show, Taming the Terminal where you can learn how to do it.

We create a new repo from scratch in Github on the web with a README file and a license, and then we get to use a command-line version of Github called gh. With gh we pull the repo down from Github, edit the files, commit them locally, and push them back up to Github all from the command line. We then flip the tables and from the command line create another repo directly on Github, create some files, set them up to track, and push and pull again to prove it’s working.

It’s surprisingly easy and simple. Bart teases us with the next episode where we’ll learn how to create a website using Github pages, which will give us a nice place to host our web apps for free. You can follow along with Bart’s fabulous shownotes at pbs.bartificer.net/…

mp3 download

Leave a Reply

Your email address will not be published.

Scroll to top