Learn Git in 10 Minutes

preview_player
Показать описание
A pragmatic Git tutorial.

💬 Topics:
- What is Git?
- Useful Git commands;
- Working with Git in the command line;
- Working Directory vs Stage area vs Local Repo vs Remote Repo;
- Pull vs Fetch vs Merge;
- Merge vs Squash Merge vs Rebase;
- Git basic example;
- What is Git Hub?

Рекомендации по теме
Комментарии
Автор

90% of git usage in small projects - git add, commit, push

MasterSergius
Автор

I swear you need to collab with Fireship, you are amazing tutors

avi
Автор

This has got to be one of the best made, most well-explained educational videos I have ever watched

nicholashendrata
Автор

I didn't learn a lot as I am somewhat past the noob stage. But, this is an excellent video and did help solidify some of my knowledge and I will most definitely use this video to help explain for others. Very good. Good combination of speech, text and graphics (as always).

BradArnst
Автор

one big gotcha to look out for and you stated it but you should empahaize is "git branch" by itself makes the branch based off your current branch

I cannot tell you how many devs make a feature-one branch, then make feature-two and now it is based off of feature-one when they probably meant to do main

I recommend getting used to checking where you are before making branches (i also exclusively use git checkout -b new-branch source-branch)

AndTheOfThat
Автор

How is this channel on 48K subs? very concise and not a single second wasted.

aja
Автор

heck, i thought you were going to explain how git itself works under the hood

ransomecode
Автор

You missed the most important one
$ git blame

sheaksadi
Автор

Ur using Vim as it's part of git commands, I shared this with junior dev and they are getting error on vim

kasper
Автор

So I cant believe i have understood this by working with it for 2 years.

One tip I would give is
Dont use git reset --hard without pushing the code to remote branch.


For adding the files just use the staging + icon in vs code.

dgdev
Автор

Great job! This might be the easiest video to learn Git. I often end up creating garbage commit messages after feeling mentally exhausted. Do you have any tips for improving this?

ryo_
Автор

Good video, but I hate those flashbanks screens that announce next chapter of the video. Please stick to the dark theme in the entire video.

paw
Автор

writing :wq to save and exit vim as if :x didn't exist. *look of superiority*

goatfryed
Автор

i only know git init, git add, git commit, the git push to main

mikejohneviota
Автор

It's "without further ADO", not "adieu" ;)

aLfRemArShMeLlOw
Автор

1:19 shouldn't this be the other way around? Git doesn't take a snapshot of the entire working directory, ie the project, but works on file changes/diffs

At most the phrasing here is misleading

siniarskimar
Автор

bro how you created a folder without Cd to it lmao

abdoun
Автор

this was knowing nothing to knowing the bare least neccesary not advance

samarnagar
Автор

I know rebase, but I don't care 😤

jaydeep-p
Автор

Nice video, but the title is a bit deceitful.

neanelu