1 of 11

Second Meeting(10/2)

Mt. Sac Computer Science Club

2 of 11

Announcements

Tutoring

  • Where: Library Study Rooms
  • When: Today(10/2)
  • Time: 5:30 - 7:00pm
  • Room: 209

Workshop

  • Topic: Intro to Github
  • Where: Library Study Rooms
  • When: Friday(10/4)
  • Time: 12:30 - 3:30pm
  • Room: 211

-A look at what we have planned for this week-

3 of 11

SD Hacks

Sign up options

  • Sign up for UC San Diego’s Hackathon

  • Sign up deadline is October 11 so sign up ASAP

  • The hackathon will be from Friday night to Sunday morning. The weekend of October 25 - 27
  1. https://www.tesc.events

  • https://www.sdhacks.io

  • Go to “mlh.io” and click the “attend a hackathon” button and find “SD Hacks”

4 of 11

INTRO TO GIT AND GITHUB

PRESENTED BY MT. SAC COMPUTER SCIENCE CLUB

5 of 11

WHAT IS GIT AND GITHUB?

  • Git: a version control system installed locally on the system which tracks changes when working with code
    • A command line tool
  • GitHub: a Web-based Git version control repository housing service
    • Provides a graphical interface
  • Git is the tool and GitHub is the service for projects

6 of 11

WHY USE IT?

Collaborate with others

Version control

Share your code

7 of 11

VERSION CONTROL

  • Version Control: System that records changes to a file or set of files over time
  • Repository (repo): contains all of your project’s files and history of commits
    • Commit: saving a version of your file(s)
  • Go back to previous versions

8 of 11

COLLABORATE WITH OTHERS

  • Discuss code changes before merging them into main branch using pull requests
    • Merging: incorporating new changes (commits)
    • Branch: copy of your project
    • Push request: request to add your changes from a branch back into master
    • Pull request: request to get the code within the branch to make a local copy
  • Simultaneous development
    • Everyone has their own local copy of code and can work simultaneously on their own branches

9 of 11

SHARE YOUR CODE

  • Allow others to fork your repository
    • Fork: make a copy of someone else’s repository
    • Forks are most commonly used to propose changes to someone else’s project or to use someone else’s project as a starting point for your own idea
  • Share your work for job applications
    • Many job recruiters will expect you to have a GitHub that they can look at
  • Access your code from anywhere in the world
  • Easily get feedback from others

10 of 11

Workshop

Workshop Preparations

  • Topic: Intro to Github
  • Where: Library Study Rooms
  • When: Friday(10/4)
  • Time: 12:30 - 3:30pm
  • Room: 211
  • Please create a Github Account

-https://github.com

  • Download Github Desktop

-https://desktop.github.com

11 of 11

THANK YOU

mtsac.csclub@gmail.com

https://sites.google.com/view/mtsaccsclub

CODE: Rzed7cC