Git[Hub] 'n' Tricks


Khinshan Khan

@kkhan01

House Keeping

Photo Consent Form

qr-code.png

FactSet on Oct 17!

Sign in so we Keep you Flushed with Food

This isn't an official GitHub workshop

Set up an account

signup.png

Story Time

Version Control

Central Database

Decentralized Database

The Git Keywords

  • git add
  • git commit
  • git push
  • git pull
  • git branch
  • git merge
  • git checkout
  • git fetch
  • git remote

Resources

Check out CSSI 395.86

  • Maintain a blog
  • 10+ contributions
  • (H)(F)OSS
  • Git[Hub] (more in depth)
  • Licenses
  • How OSS can make $$$
  • Speakers!
  • So much more!

Some key features

Starring

  • Clout
  • Shows support
  • Bookmark
  • Shows coverage/ usage

Following

shiffman-profile.png

Following

aiden-profile.png

Following

followers-starring.png

Watching

cats-watching.png

Feed

sample-feed.png

Feed

sample-feed-arrows.png

GraphQL

query {
  user(login: "{{uname}}") {
    watching({{list identifier}}: {{num}}) {
      edges {
        repository:node {
          nameWithOwner
        }
      }
    }
  }
}

Student Pack!

The Pack

Some Key Ones:

  • Free domains!
  • AWS
  • SendGrid
  • DataDog
  • Digital Ocean

Hacktoberfest

Sorry, your browser does not support SVG.

Hacktoberfest

Let's host a Site

  • Hosting a static site using GitHub Pages is free
    • No credit card required
  • We're going to host this slideshow site on GitHub!

Some constraints of GitHub Pages

  • Site has to be static
  • Site should be "generated" beforehand

Other ways to a Website

You can use static generators!

Jekyll

  • Allows for a "backend"
  • blog-centric framework

Some other constraints of GitHub Pages

  • Can only use verified, whitelisted gems (~8)
  • Hard for non programmers to contribute

Netlify

Examples

GitHub Workflows

GitHub Secrets

Freedom at last