Skip to content

About

Repo for the GitHub workshop at the Reality Virtually Hackathon, MIT, January 17th, 2019

Resources

Stars

3 stars

Watchers

8 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

reality-virtually-hackathon

Repo for the GitHub workshop at the Reality Virtually Hackathon, MIT, January 17th, 2019

Topics Covered

This workshop on Github will introduce participants to source control and best practices with Git. Learn how to collaborate on a team and keep track of changes through a shared code repository. The basics of Github will covered, such as file structure, code versioning, and branching off a main source. We'll go over how to pull, modify, commit, and merge code onto a master branch. We will also review how to manage large files (audio, video, hi-res images) through GitHub's Large File Storage (LFS) system. Students will have the option of using a command-line interface or GitHub's user-friendly GUI desktop application. This workshop is for those new to source control and versioning, or looking to improve their git skills.

Pre-requisites: Before the workshop, please check and download the following:

If you're completely new to Git, we recommend using a combination of Git Bash(#1) with GitHub Desktop(#2)

1) Do you have Git installed?

On Windows: Open the "Command Prompt" application and type: git --version

On Mac: Open the "Terminal" application and type: git --version

If you don't see a version number, download Git here: https://git-scm.com/download and follow these instructions:

In general, free free to follow the default settings during the Git installation process, EXCEPT for the following:

  • (1/2)Install Git components on your desktop for easy access to Git Bash, as well as Git LFS (important for Step 4 (below)):

  • (2/2)Install Git Bash (i.e, use MinTTY) if you've never used a Command Prompt(Windows) or Terminal(Mac) before:

2) Do you feel comfortable using the Command Prompt (Windows) or Terminal (Mac)?

If not, download GitHub Desktop: https://desktop.github.com/

Once GitHub Desktop is downloaded, follow the prompts to set it up:

  • Go to Github.com/join to create an account:

  • On GitHub Desktop, configure Git using your new username:

3) Do you have a text editor?

If not, we recommend SublimeText3: https://www.sublimetext.com/3

4) Do you have Git LFS installed?

If you installed Git in Step 1, LFS should already be installed. If not, download the Git LFS extension here: https://git-lfs.github.com/

References

  • Please reference the PPT used for this workshop: Slides here

What we’ll cover:

PART 1: Introduction:

  • The whys and hows of source control
  • Review GitHub basics
  • Take a look at the Github landscape
  • Review GitHub best practices

PART 2: Implementation

  • 2A: Hello world demo: Create a GitHub account and repository, create a pull request, all on Github.com
  • 2B: Clone a repo locally on your computer: modify, commit, and push code using a terminal (Git Bash, Terminal, or Command Prompt) or GitHub Desktop

PART 3: Working with Large Files

  • Learn to handle large files with GitHub LFS (Large File Storage)

About

Repo for the GitHub workshop at the Reality Virtually Hackathon, MIT, January 17th, 2019

Resources

Stars

3 stars

Watchers

8 watching

Forks

Releases

Packages

Contributors