Git PULL vs FETCH

  Рет қаралды 36,887

The Modern Coder

The Modern Coder

Күн бұрын

Пікірлер: 37
@shoooozzzz
@shoooozzzz 8 ай бұрын
You are the git goat with your visualizations.
@tanko.reactions176
@tanko.reactions176 4 ай бұрын
he is the git goat and you need to git gud.
@CentreMetre
@CentreMetre 8 ай бұрын
I first seen your merge vs rebase a couple days ago and it really helped explain. KZbin seemed to agree and recommended me this straight after uploading (im not subscribed), and again really helpful video. Gonna have to check out more!
@themoderncoder
@themoderncoder 8 ай бұрын
Good to hear. These videos end up taking way longer than I think to film and animate, so it really makes me feel like it’s worth it when I get comments like yours.
@shoooozzzz
@shoooozzzz 8 ай бұрын
@@themoderncoder the time spent is worth it. You are creating a better world for software devs
@daymenpasick7825
@daymenpasick7825 8 ай бұрын
My guy at the very beginning when you described git pull as being a combination of fetch and merge...it already instantly clicked for me xD thank you!
@misanthropicmusings4596
@misanthropicmusings4596 5 ай бұрын
Yeah, I use Visual Studio and it hides this detail from you. Good video.
@bury2909
@bury2909 2 ай бұрын
thanks for your videos :) helps alot! i use git for some time now (private and in my company) and sometimes we have some issues with the git stuff, and your videos really help :) keep on the good work
@themoderncoder
@themoderncoder 2 ай бұрын
Appreciate you saying that :)
@bilalnaseem94
@bilalnaseem94 6 ай бұрын
Amazing man! Please don't stop making videos like this!
@themoderncoder
@themoderncoder 6 ай бұрын
Appreciate it my guy! I’m still grinding - these deep dive vids take an ungodly amount of time so it’s hard to get even one out every month or two. But I’m committed to it.
@mehdizahedi2810
@mehdizahedi2810 7 ай бұрын
Fantastic explanation, resolved all my confusion about merging. Thanks
@callmejobson
@callmejobson 6 ай бұрын
Great video!! I was asked this in a interview!! I have been using git for years without this knowledge Thank you!!
@themoderncoder
@themoderncoder 6 ай бұрын
Sweet! Glad it helped.
@hrahman3123
@hrahman3123 8 ай бұрын
You always have great videos. Keep it up!
@coreC..
@coreC.. 7 ай бұрын
This is a clear explanation. Very good.
@CalmestTrader
@CalmestTrader Ай бұрын
What tool do you make your visualizations with? They are very good
@nipping1212
@nipping1212 8 ай бұрын
Great video :)
@fernandolordao2
@fernandolordao2 7 ай бұрын
Great class! Thank you!🙏🏼
@RuslanSkiraUkraine
@RuslanSkiraUkraine 4 ай бұрын
Thank you for your great tutorials. I'm curious will you make a video about 'git submodule'?
@themoderncoder
@themoderncoder 4 ай бұрын
I can certainly add it to the roadmap!
@_Gianluca
@_Gianluca 3 ай бұрын
This video is awesome! Sadly I am not able to see the difference between git pull (without option) and git pull --ff. Both strategies seems to merge if it's not possibile to do a fast-forward-merge. If git pull (without option) is basically git fetch + git merge, what is git pull-ff? It looks the same to me. What am I missing? thanks.
@themoderncoder
@themoderncoder 3 ай бұрын
"git pull" is always "git fetch" followed by "git merge" behind the scenes regardless of what merging option is specified. The "--ff" option is simply forwarded to "git merge" behind the scenes. Since "--ff" is the default merging strategy, if no command line flag is provided, there is no difference between "git pull" and "git pull --ff" unless you specify an alternative default (like in 5:47 in the video).
@dev-vf5fm
@dev-vf5fm 4 ай бұрын
where's the dedicated video for side effect of git pull --rebase? no link appeared in the video
@themoderncoder
@themoderncoder 4 ай бұрын
Sorry about that. The video I reference is this one: kzbin.info/www/bejne/sIDRqJqunqhjhaM
@marianokaimakamian6138
@marianokaimakamian6138 5 ай бұрын
Very useful :D
@leaks1965
@leaks1965 4 ай бұрын
Exit vim, with save ZZ, exit vim without save ZQ
@tirthankar9533
@tirthankar9533 7 ай бұрын
thanks for the video!
@linbynd
@linbynd 8 ай бұрын
perfect !!!
@armin4146
@armin4146 Ай бұрын
Thank you
@Guillen8606
@Guillen8606 5 ай бұрын
GIT GOAT. Thanks
@jeffreyzhang8949
@jeffreyzhang8949 6 ай бұрын
Mind sharing that terminal theme?
@themoderncoder
@themoderncoder 6 ай бұрын
Sure. Below is the relevant part of my ~/.zshrc, and the font used is Iosevka: # Load version control information autoload -Uz vcs_info precmd() { vcs_info } # Format the vcs_info_msg_0_ variable zstyle ':vcs_info:git:*' formats '%F{215} %b%f' # Format the prompt setopt PROMPT_SUBST PS1=$'%F{69}%n%f on %F{cyan}%~%f ${vcs_info_msg_0_} \Uf0da '
@jeffreyzhang8949
@jeffreyzhang8949 5 ай бұрын
@@themoderncoder Thanks!
@chrism9017
@chrism9017 8 ай бұрын
1:00-1:05 "... my local main branch hasn't changed". Light bulb on.
@devcallum
@devcallum 8 ай бұрын
Not first but second
@themoderncoder
@themoderncoder 8 ай бұрын
Let’s go! I never get “first” or “second” comments on my vids!!
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 140 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Proxy vs Reverse Proxy vs Load Balancer | Simply Explained
13:19
TechWorld with Nana
Рет қаралды 286 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 170 М.
Resolve Git MERGE CONFLICTS: The Definitive Guide
8:02
The Modern Coder
Рет қаралды 56 М.
How GitHub's Database Self-Destructed in 43 Seconds
12:04
Kevin Fang
Рет қаралды 1 МЛН
The 3 Laws of Writing Readable Code
5:28
Kantan Coding
Рет қаралды 831 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,8 МЛН
Git CHERRY PICK Tutorial
4:42
The Modern Coder
Рет қаралды 139 М.
1 Atheist vs 25 Christians (feat. Alex O'Connor) | Surrounded
1:33:20
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН