Everything You Need to Know about Git

preview_player
Показать описание

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

Don't know why you'd want to follow me on other socials. I don't even post. But here you go.

A portion of this video is sponsored by Skillshare.
Рекомендации по теме
Комментарии
Автор

Linus' first commit is probably the greatest part about git.

brandonw
Автор

I’m probably the last person on Earth to start using git. Ported my code from svn a few months ago. Thanks to you, now I’m a little less green on git.

rottdude
Автор

You don't actually have to use the entire git hash in commands that require it. The first eight characters or so of the hash are usually unique enough.

JeffreyChadwell
Автор

This is great timing; I'm migrating my home setup from Win10 to Linux and while I've used git for 10+ years I've never really used the CLI.

aaronmorgan
Автор

I just wanted to say that is a compact but AWESOME tutorial for learning GIT. Ty so much 🙏

DevSofo
Автор

Wow! I finally get it some idea for git. Thank you so much.

bosong
Автор

Great timing for me, I was learning the git.

DataWiseDiscoveries
Автор

the third line shown on your thumbnail is git out. I do not recall git out as a valid command.

peircedan
Автор

Looking for Asterix, but all I found was Obelix.

SimonTrogler
Автор

Hey, but where is for use advanced devs, git worktree ? git cherrypick, git patch and so on ?

GamePlayByFaks
Автор

Aren't we also switching to "main" from using "master"?

lattebean
Автор

I NEVER CLICKED SO FAST🤣"Git for DUMMIES" thumbnail baited me fr, I have such a low opinion of myself...

stefantrajkovic
Автор

How is that possible that i downloaded intelliJ and added git via JetBrains. The get status gives fatal: not a git repo. and the git -v succcessfully gives me back that i have git version 2.39.. And also i can push and pull and to all the stuff in my github. Why the git commend is not working in bash?

gregmiller
Автор

learning Git right now, what a great timing

jannypooh