Skip to content

Latest commit

 

History

History
179 lines (126 loc) · 5.02 KB

outline.md

File metadata and controls

179 lines (126 loc) · 5.02 KB

GitHub for Cats Presentation Outline

CORE: Start Using GitHub Today

LEAD: Teams that use GitHub unlock their true collaborative potential

Question: How can using GitHub benefit me and my team?

LESS DETAIL MORE IDEAS

Here is how to get started. Never more than 1 half step ahead of beginner.

GitHub at a Glance

  • GitHub is the new standard. So many people are using it and it has become a requirement for many tech jobs
    • 5.5M developers
    • 16.4M hosted projects
    • Site features a 99.69% uptime.
  • Logo is the Octocat, a cross between a cat and an octopus: http://octodex.github.com/
  • GitHub provides a centralized medium for programmers to share code.
  • Create public and private repos, served over https or SSH (Matrix of pub vs priv)
  • Adds a social aspect to coding

What is version control?

"A brief, and vastly incomplete history of Version Control Throughout the ages"

AKA Revision control, SOurce COntrol

Lets say you need to write your Final Essay for a class.

Old Version Control for Essay

"In the beginning.."

  • TERMINOLOGY: Repo

  • Start by versioning the name

  • Now you have 20 files and you don't know which is which

Using Git for the Essay

Distributed Version Control system built on an open source platform where the files are located at a centralized server but you pull down a local copy and submit patches back to the centralized location with your local modifications

  • TERMINOLOGY: Clone, Commit, Pull (Schema: Photocopying)

  • Now you keep the same file name but can review old versions of the essay from any point in time

  • 1 file, with a History

Using GitHub for the Essay

  • TERMINOLOGY: Fork

  • You distribute it for free online

  • Anyone in the world can improve your essay now

  • They can submit fixes or add additional content to make it utterly amazing.

Why use GitHub?

  • Built-in Project management Tools
    • Collaboration with permission system
    • Wikis
    • Issue Tracking
    • Code Review
  • Handles large projects with ease
  • No checking files in and out to modify them. Editing the same file simultaneously
  • Long distance collaboration (Guy from UK that enhanced my plugin)
  • History of Every change to every file
  • Offline editing (airplane submarine), keeps a lit of all of your revisions until you are ready to commit
  • Fast workflow
  • GitHub isn't just for code, you can use it for documents and images as well. replaces that list of 12 versions of the same document with increasingly long file names
  • You don’t have to take my word on it: Android, jQuery, etc etc

[Probably drop ITS as a slide] ITS official stance on GH

  • If no official word, its “In the works”

Use Case #1 - RWD Sprint

  • 3 Weeks full time
  • Collaborators = 10
  • Commits = 1700
  • Issues = 899
  • Deliverables:
    • Alpha version of a RWD framework
    • Getting started with RWD website
    • Demos of useful RWD techinques

Setup GitHub

  • Create GH account
  • Install GitHub GUI (windows)
    • Add Username
  • GUI Overview
    • Categories
      • Local category
      • GitHub Username Category
      • Repo list
    • Repo Screen
      • Commits
      • Diffs
      • Sync

Creating a Repo

  • Copy in existing project
  • Publish it
  • Done.

Making Changes

  • Committing 101
    • Metaphor: A snapshot in time. "This" is what this code was like at this point in time.
    • Have the ability to create review and revert snapshots
  • Make a small change in project
  • See the change detailed line by line
  • Commit the changes, and sync back to GH

Use Case #2 - DMV RWD Sprint

  • 2 Days full time, 1 week part time.
  • 8 Collaborators
  • 256 Commits
  • 278 Issues Closed
  • Deliverables:
    • fully responsive Registration Renewal Application

GitHub.com Overview

  • News Feed
  • Following people
  • Repo Page
  • Staring and Watching Repos
  • Fork

Forking repos

GH is social, all code that is made publically available is at your fingertips

  • Find jQuery ListNav
  • Fork it
  • View in GHW
  • Can make changes to it now and use them for yourself
  • or make a bug fix and send changes back to them to fix it.

Other Useful Features for Teams

Issue Tracker

  • New Issue
  • Track bugs
  • Track feature requests
  • Get Notifications from all issues, comments, closing, re-opening

Pulse

  • Overview of activity of repo over time
    • Requests to modify code (pull requests)
    • Open/closed isses
    • Graph of individual contributions

Google these Advanced Techniques

Further Resources

Why is it better?

Awesome features of Git

Trygit

ProGit Book