r/learnjavascript • • Aug 22 '20

Learn Git and GitHub Basics for Beginners | Quick Start Guide

https://youtu.be/6KoBsJfYBPM
166 Upvotes

10 comments sorted by

7

u/esdotvee Aug 22 '20

Hey, thanks for making this. Just a note that you may want to remove the parentheses around your time codes. That way they can be clickable.

6

u/DaveOnEleven Aug 22 '20

You're welcome! And thanks for the note. When I view on YouTube, the time codes are clickable within the parentheses. Not sure why they wouldn't be working for you? I'll check some other videos also. I appreciate your feedback! 👍

6

u/[deleted] Aug 22 '20

I learned git about a week ago (following the Odin project) and I love it. I look for excuses to make repositories just so I can practice using git in the command line

2

u/DaveOnEleven Aug 22 '20

That's great! Making a practice project to simply practice git commands is a good idea. It is what I do in the follow up to this video. The more you work with it, the easier it will all become.

3

u/DaveOnEleven Aug 22 '20

The use of git, git bash, and GitHub is considered day one knowledge for most development jobs, but it is not always covered in traditional computer science degrees. Get up and running with git, git bash, GitHub, and integrate it all into Visual Studio Code fast with this quick start guide.

Here’s the video outline:

  • (0:04) Intro

  • (0:24) Download and install git

  • (1:06) Download and install Visual Studio Code

  • (1:43) Git Bash terminal window

  • (2:22) Opening your project in VS Code

  • (3:18) Opening Git Bash inside of VS Code

  • (4:10) git init

  • (4:43) git status and untracked files

  • (5:10) git add

  • (5:49) git commit

  • (6:34) Making changes to our code

  • (7:12) git status and modified files

  • (7:29) Repeat the process to update the repository

  • (8:07) Insertions and deletions

  • (9:17) GitHub

  • (9:49) Create new GitHub repository

  • (10:27) “...or push an existing repository from the command line”

  • (12:00) Our local git repository is now linked to our GitHub

  • (12:33) Viewing our files on GitHub

  • (13:00) Making more changes to our project

  • (13:50) Adding the new project changes to our local git repository

  • (15:25) git push (sending changes to GitHub)

  • (16:30) Viewing the new project changes on GitHub

If you enjoy the video, I’ll be posting more. Glad to answer your questions, too.

Learn Git and GitHub Basics for Beginners: Quick Start Guide: https://youtu.be/6KoBsJfYBPM

3

u/Sausage_Buster Aug 22 '20

git is related to github in the same way porn is related to pornhub

3

u/DaveOnEleven Aug 22 '20

A memorable analogy.

2

u/TehTriangle Aug 23 '20

Thanks. This is the level I'm at as a self-taught developer. Do I need to know more before I join a company? I realize I don't quite understand working on multiple branches.

2

u/DaveOnEleven Aug 23 '20

You should probably understand more than this quick start, but these are the absolute essentials to know first. In my follow up to this video, I show examples of branches, merges, and how to undo and fix mistakes.

0

u/[deleted] Aug 22 '20

[deleted]

2

u/DaveOnEleven Aug 22 '20

You're welcome! Glad to help! 👍