Skip to content

CarloSantos07/IntroToGithub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Intro To Github

Welcome to class. First things first, let's get to know our tools. Within the development industry when we build something, we usually build in large teams. Powerful programs require many people working on the project together as a team. A problem that arises when multiple people are working on the same code in the same project, is that we may change code that affects another contributors code. That's not good.

In comes version control. Git is an example of a version control system. Version control is simply that. Version control systems (VCS's) track and manage the version/state of the source code. So we can rewind the history of our code and fastforward to our most recent contribution.

We will also learn a little markdown and a little ruby in the process

No better way to learn than to get started. Clone this repo and follow along.


Steps to Get Started

  1. Install Git
  2. Create a github account
  3. Clone this Repo
  4. Add Contact info to student_info folder
    • add and commit to the master branch
  5. Create a branch titled "[name_s]-motivation"
    • copy and paste your contact info
    • add an entry in the motivation folder describing your motivation for taking this course.
    • give your learning style.
    • give one interesting fact about yourself
  6. Create a pull request to merge your branch into master.

1. Install Git

Install Git based on your operating system

2. Create Github Account

Create a GitHub account and get yourself an avatar.

3. Fork and Clone this Repo

https://github.com/CarloSantos07/IntroToGithub

4. Add Contact Info

- navigate to the sudent_info directory
- add your name and email to contact_info.md

- commit your changes and push to master

5. Create a branch titled "[student_name_s]-motivation"

Find the documentation needed to 
    - create a new branch with "your_name-motivation" as the title of the branch.
    - navigate to the directory/folder called motivation.

    - in that directory copy and paste your contact info
    - give your motivation for taking this course
    - describe your learning style
    - commit your changes and push to master

Useful Resources


Common Used Commands

  • git init
  • git clone <repo.git>
  • git add <file_name.rb>
  • git add .
  • git commit -m <"message">
  • git push
  • git status
  • git branch
  • git fetch
  • git checkout
  • git commit --ammend
  • git log

About

The goal is to introduce students to github.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages