Skip to content

Latest commit

 

History

History

README.md

Workflows


What It's All About

  • version control

GitHub and Git

GitHub --> [browser]

GitHub is a website that allows you to upload your git respositories online. It allows you to have a backup of your files, has a visual interface to navigate your repos, and it allows other people to be able to view your repos.

GitHub is a central place to store your repo, so others can clone it, push to it, and pull from it.

It also includes some very nice tools for software projects, like Markdown README rendering, issue tracker and wiki tools, and the ability to “fork” a project to make your own independent copy of it for development.

Git --> [terminal]

Git is a system for version control. It runs at the command line on your local machine and allows you to keep track of your files and modifications in a "repository".

Why it's good to know Git

  • version control
  • backing up your code
  • open source
  • can share your coding work publicly
  • can collaborate with others on projects
  • knowing version control lets you contribute to open source (these repos are public)
  • GitHub Pages allows you to host static websites for free.

Intro to GitHub

  • avatar / "Your profile"
  • avatar / "Settings"

Setup

Workflow 0.1: software installations (required)

  • terminal access
  • git
  • GitHub account
  • editor

Workflow 0.2: SSH keys setup

  • create ssh keys
  • add ssh key to GitHub

Workflow 0.3: general setup (required)

  • configure user
  • set up working directory

Workflow 0.4: questionnaire

  • complete questionnaire

Workflow 1: create & update your repo

  • create repo on GitHub
    • add, update files on GitHub
  • clone (copy) GH repo to local computer
    • look at remotes
    • work with branches
    • add, update files at Git terminal and send changes up to GH
    • submit a pull request

Workflow 2: fork & update an organization repo

  • fork/clone an organization's repo
  • add updates and submit a pull request

Workflow 3: add a collaborator to your repo and manage pull requests

  • using the repo from Workflow 1, add a collaborator
  • the collaborator will make updates to your repo and submit pull requests
  • you will accept their pull requests