Everything You Need to Know about Git

Опубликовано: 28 Август 2024
на канале: ForrestKnight
45,068
1.9k

The first 500 people to use my link https://skl.sh/forrestknight08241 will get a 1 month free trial of Skillshare premium!

Git is one of your most used tools as a software engineer, so I've made a crash course to teach you about git and the commands you'll use most of the time.
Definition: Git is an open-source, distributed version control system (DVCS) that's used to track changes to source code during software development.

0:00 What is git?
2:17 Built-in version control
3:04 sudo apt install git-all
3:33 git config credentials
4:10 New remote repo
4:52 git clone
5:21 git init
6:04 git add
7:05 git status
7:27 git commit
9:03 git log
9:31 git remote
9:56 git push
10:51 git branch
12:45 Do it all again on new branch
14:13 Pull request & code review & merge
15:30 git pull (fetch + merge)
16:34 git skillshare
17:26 git revert
19:37 git reset
20:32 git push --force
21:22 git stash + git stash pop
22:43 Thanks for watching

If you're a developer, sign up to my free newsletter Dev Notes 👉 https://www.devnotesdaily.com/

If you're a student, checkout my Notion template Studious: https://notionstudent.com

Don't know why you'd want to follow me on other socials. I don't even post. But here you go.
🐱‍🚀 GitHub: https://github.com/forrestknight
🐦 Twitter:   / forrestpknight  
💼 LinkedIn:   / forrestpknight  
📸 Instagram:   / forrestpknight  

A portion of this video is sponsored by Skillshare.