- 74
- 2 131 244
The Modern Coder
United States
Приєднався 4 бер 2016
Professional programming videos
My name is Jack Lot Raghav. I attended the University of Maryland where I graduated with a bachelors degree in Computer Science. Since then I’ve gathered experience in the tech industry, both as a software engineer and people manager. My longest stint was at Amazon for a total tenure of just over 6 years where I had the opportunity to work across both the Amazon retail and AWS businesses.
Over the years I've had the opportunity to mentor many engineers, and learned a lot about the business of building software inside of complex, global environments. My goal with this channel is to spark the same kind of excitement and enthusiasm that I had for the tech industry when I was first getting started. I appreciate you taking the time to watch my videos.
My name is Jack Lot Raghav. I attended the University of Maryland where I graduated with a bachelors degree in Computer Science. Since then I’ve gathered experience in the tech industry, both as a software engineer and people manager. My longest stint was at Amazon for a total tenure of just over 6 years where I had the opportunity to work across both the Amazon retail and AWS businesses.
Over the years I've had the opportunity to mentor many engineers, and learned a lot about the business of building software inside of complex, global environments. My goal with this channel is to spark the same kind of excitement and enthusiasm that I had for the tech industry when I was first getting started. I appreciate you taking the time to watch my videos.
Git PULL vs FETCH
.
More lessons like this: learngit.io/
Git collaboration basics (clone, fetch and push): ua-cam.com/video/ByBGTkrQ-QU/v-deo.html
Git rebase explained (merge vs rebase): ua-cam.com/video/zOnwgxiC0OA/v-deo.html
----
In this video tutorial we'll discuss Git fetch and pull, and learn essential use-cases for each. Both pull and fetch are critical collaboration operations uses to sync commits between local and remote repositories. In additional to code samples, this video also covers pros/cons and the three most common Git pull configuration options: --ff-only, --ff and --rebase.
CHAPTERS
0:00 Intro
0:13 The difference between Git Fetch and Pull
1:51 Why use Fetch vs Pull?
3:02 Pull merging strategies
3:28 git pull --rebase
4:04 git pull --ff
4:42 git pull --ff-only
6:05 Review
#git #learngit.io #learngit #mergeconflicts #gitfetch #gitpull #gitmerge #fetchvsmerge #github #gitmerge #gitrebase #stackoverflow #development #softwareengineering #programming #coding #versioncontrol #developer #technology #tutorial #stepbystepguide #gitrepository #vcs #programmingtips #codersofinstagram #codingcommunity #learnprogramming #softwaredevelopment #codingtutorial #gitexplained
More lessons like this: learngit.io/
Git collaboration basics (clone, fetch and push): ua-cam.com/video/ByBGTkrQ-QU/v-deo.html
Git rebase explained (merge vs rebase): ua-cam.com/video/zOnwgxiC0OA/v-deo.html
----
In this video tutorial we'll discuss Git fetch and pull, and learn essential use-cases for each. Both pull and fetch are critical collaboration operations uses to sync commits between local and remote repositories. In additional to code samples, this video also covers pros/cons and the three most common Git pull configuration options: --ff-only, --ff and --rebase.
CHAPTERS
0:00 Intro
0:13 The difference between Git Fetch and Pull
1:51 Why use Fetch vs Pull?
3:02 Pull merging strategies
3:28 git pull --rebase
4:04 git pull --ff
4:42 git pull --ff-only
6:05 Review
#git #learngit.io #learngit #mergeconflicts #gitfetch #gitpull #gitmerge #fetchvsmerge #github #gitmerge #gitrebase #stackoverflow #development #softwareengineering #programming #coding #versioncontrol #developer #technology #tutorial #stepbystepguide #gitrepository #vcs #programmingtips #codersofinstagram #codingcommunity #learnprogramming #softwaredevelopment #codingtutorial #gitexplained
Переглядів: 6 700
Відео
Git Fundamentals: Staging area, repository, working directory, file states, and commits tutorial.
Переглядів 3,3 тис.2 місяці тому
Unlock the rest of the videos in this series, and learn more about LearnGit.io: learngit.io/#start-free In this Git tutorial we review the most important foundational knowledge needed to understand Git. You'll learn: the 3 Git sections (working directory, staging area and repository), file states (tracked, untracked, staged and committed), and commits. Understanding these fundamentals will ensu...
What's better than a password? No password.
Переглядів 3,1 тис.3 місяці тому
The better way to learn Git: learngit.io/ Newsletter readers get my videos early: newsletter.themoderncoder.com/ Challenge response authentication: www.arkoselabs.com/explained/challenge-response-authentication/ In this video we deep dive the mechanics of SSH authentication, and learn how to generate SSH key pairs on Windows, Mac and Linux machines using ssh-keygen. GIT HOSTING SERVICE SSH GUID...
Unlock Git collaboration with CLONE, PUSH & FETCH
Переглядів 3,4 тис.4 місяці тому
The better way to learn Git: learngit.io/ Git branching video: ua-cam.com/video/u-6ryWqAJR4/v-deo.html Newsletter readers get my videos early: newsletter.themoderncoder.com/ Reach out! jack@themoderncoder.com In this video tutorial we deep dive into Git's remote tracking branches in order to gain a deeper understanding of clone, fetch, push and pull. The key to Git collaboration and syncing is ...
Git's most perplexing paradigm
Переглядів 3,5 тис.4 місяці тому
The better way to learn Git: learngit.io/ More free Git videos on my channel: www.youtube.com/@themoderncoder Newsletter readers get new videos early: newsletter.themoderncoder.com/ DESCRIPTION In this video we'll learn how Git utilizes pointers to make creating, deleting & updating branches easy and fast. We'll discuss Git's branching architecture, and uncover just what exactly the saying "bra...
The common misconception about GitHub
Переглядів 2,1 тис.5 місяців тому
The better way to learn Git: learngit.io/ Newsletter readers get new videos early: newsletter.themoderncoder.com/ DESCRIPTION Git vs GitHub, what's the difference? In this video we deconstruct the difference between Git and GitHub. Git is an example of a decentralized version control system (DVCS), and GitHub takes advantage of this architecture to host Git repositories. Not only do we explore ...
Resolve Git MERGE CONFLICTS: The Definitive Guide
Переглядів 29 тис.7 місяців тому
👨💻 The better way to learn Git: learngit.io/ This is the definitive tutorial on how to resolve merge conflicts in Git. We'll cover why merge conflicts happen, and learn how to fix the two most common types of conflicts. This video covers resolving conflicts using command line Git (and a terminal text editor like VIM) as well as an IDE like VS Code. At the end of this video, I also share a chea...
5 (questionably useful) Git tips
Переглядів 1,5 тис.8 місяців тому
👨💻 JOIN THE LEARNGIT.IO NEWSLETTER: waitlist.learngit.io/ Yes, this video is a little bit different than my normal format, but we're still talking Git! Take a ride with me on my EUC through the streets of NYC as we uncover 5 (questionably) useful Git operations. Along the way stopping at some of my favorite destinations in Brooklyn and Manhattan. Aside from interesting open-source Git utilitie...
Git MERGE vs REBASE: The Definitive Guide
Переглядів 85 тис.9 місяців тому
Git MERGE vs REBASE: The Definitive Guide
Git REBASE Explained: Unveiling Rebase's Hidden Hazard
Переглядів 7 тис.10 місяців тому
Git REBASE Explained: Unveiling Rebase's Hidden Hazard
Git Amend Tutorial: Rewrite Git History
Переглядів 10 тис.Рік тому
Git Amend Tutorial: Rewrite Git History
Resolve Git Cherry Pick Merge Conflicts
Переглядів 35 тис.Рік тому
Resolve Git Cherry Pick Merge Conflicts
My 4 linux terminal programming essentials, with one caveat
Переглядів 1,7 тис.Рік тому
My 4 linux terminal programming essentials, with one caveat
Brooklyn's smallest programming desk is packed with hidden features
Переглядів 1,1 тис.Рік тому
Brooklyn's smallest programming desk is packed with hidden features
The Modern Coder 2.0 // what happened & what's next
Переглядів 1,2 тис.Рік тому
The Modern Coder 2.0 // what happened & what's next
Can a $30 vintage Olympus lens outperform a modern kit lens? // Olympus OM G.Zuiko Auto-W
Переглядів 16 тис.4 роки тому
Can a $30 vintage Olympus lens outperform a modern kit lens? // Olympus OM G.Zuiko Auto-W
Pros and cons of living in a tiny East Village NYC apartment
Переглядів 14 тис.4 роки тому
Pros and cons of living in a tiny East Village NYC apartment
Weather ruined our spring expedition to The Enchantments
Переглядів 4415 років тому
Weather ruined our spring expedition to The Enchantments
thanks for the video!
Thanks bro you just saved me
gotchu bro
At 5:06, I didn't get the idea why we checked out to feature branch for rebase to work. Aren't we actually doing it as following: "Change the base of your feature branch to the latest commit (head) of the master branch"..? I'm a bit confused here, pls help.
Rebase can only operate on the checked out branch (this is a weird nuance of the Git architecture). Technically, you could run “git rebase master feature” without checking out the feature branch first and this would complete the rebase in the same way you see in the video at 5:06; however, “git rebase master feature” is just shorthand for “git checkout feature” followed by “git rebase master” so either way you’re checking out the feature branch
Your videos are an absolute gem. Thank you
Linus Torvalds and Ada Lovelace. You have friends in high places 🙂
true! My wife does kinda look like Ada Lovelace with the short hair lol
3:09 You lost the instagram_username line from the bugfix commit LOL.
Beast video! Thanks.. I just got my new mac today and this video helped alot!
True - new laptop day is so sweet. Going from the basic terminal to one you’ve spec’d out is such a night and day difference.
Yeah I guess on my windows the gitbash did it automatically so this helped a ton
dude! so envy about the city, nice content tanks a lot for sharing
Great class! Thank you!🙏🏼
this is so helpful, thanks man
gooog
6 years later and this is still an amazing video! Super clear and intuitive, thank you!
Nice format. Thanks
git config --global rerere.enabled true git config --global pull.rebase true That’s the way
Nice explanation, thankyou
Crystal clear ! I'm glad I've found your channel and eager to discover more
Definitely check out my other videos - there is a ton more there!
Excellent explanation and a nice, clean video. Well done. Subbed
Excellent videos, have been using git but I had lot of confusion about many basic concepts, luck i came across your videos with very crisp explanation with awesome graphical representation which makes it very easy to understand. Keep up the good work, looking forward for more informative videos..
Appreciate you saying that! If you're looking for something new, my video on fetching/pulling (ua-cam.com/video/T13gDBXarj0/v-deo.html) is essentially a follow up to this one.
SUPERB... Video. Crisp and upto the point. Nugget sized videos - addressing specific topics THANK YOU SO MUCH This video saved me a lot of reading and researching time
Awesome, thanks for taking the time to leave a comment. These videos (and especially my new ones) take an insane amount of time/effort to produce, so it's nice to know they're helping!
I came to Git from SVN -- and the ability to modify history was probably the hardest thing to wrap my head around. Not only that it was possible, but that there were situations where it is actually desirable! Now ... well, I could not go back to SVN! 🙂
Thank you, till now I faced difficulty about cherry picking, but after watching this video it made completely sense. Thanks again.
How do you make such beautiful animated presentations?
I use a combination of Apple Motion and keyframe animation in Final Cut Pro!
@@themoderncoder The final result is awesome, because you don't leave explanation to be abstracted in people's mind but give a visual representation of what actually happens, so it's easier to understand. Great content!
Hoping I see you point out rebase leaves a clean tree, merge creates new commits.
Yep you nailed it. Great video man!
I always merge latest from main/dev branch into my feature branches, so my feature branches always up to date. Then PR into main/dev branch when I’m done with a feature
Nice edit and animation
To clarify a common misconception: A "tree" in the context of Git does not refer to a commit history (because that is not in fact a tree in the mathematical sense due to merges, actually it's a DAG) but it refers to a snapshot of the repo, i.e. the content of a commit and therefore a filesystem tree. That might be important to know so not to get confused when reading the Git docs and learning about the Git working tree.
It's simple, never fucking rebase. The very concept of rebasing is fundamentally flawed and only used by damaged OCD people.
is the f word really necessary? 😂
@@maximodakila2873 absofuckinglutly
شكرا جزيلا .. thanks' a lot man
I think you may have an incorrect mental model of vim. The escape is not part of the quit command. The default mode in vim is the command mode. i puts you into insert mode and escape leaves insert mode and returns you to command mode. Colon moves you to another mode: ex mode where you can type ex commands. The ex command you're using in this situation is wq. If you're using escape before quitting even when in command mode, then it suggests you're not thinking of insert mode as something you dip in and out of before returning to the steady state of command mode and possibly missing out on the incredible power of command mode.
Your comment is a nice, succinct explanation of what I glossed over in the video. It seemed more approachable to gloss over vim modes to make sure folks could save & close a file without knowing which mode they were in. I'll admit my vim knowledge beyond simple commands is limited, I remember first starting out watching senior devs fly through code in vim, and being very jealous. Hopefully one of these days I'll find the time to up my skills!
@@themoderncoder Yep, vim is complicated, mostly because it's very different from almost any other editor that just lets you type and go. It's not helped that it's built on top of a very limited editor designed for teletypes (ed and then ex) When I was starting out, I had the same misunderstanding of vi, but someone much smarter than me gently corrected me and I became much more fluent.
9:15
This is a clear explanation. Very good.
if we are using vi config.yml for vim ide , what command we will use for vs code ide?
If you use VS Code you can either open config.yml manually via the file explorer or (if you've configured VS Code to be able to launch from the command line code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line) you could type "code config.yml"
Production quality is remarkable.
Fantastic explanation, resolved all my confusion about merging. Thanks
This isn't even close to being definitive... It skips over so many features that git provides for managing conflicts.
Great content! What are you using to make slides?
I use Apple Motion to create the animations. Then stitch all the animations together with Final Cut. It’s a bit of a manual process unfortunately - these videos take me a very very long time to make lol
This is honestly the best git course in all UA-cam. Thank you so much!
So we merge after rebase? just rebase and push is bad practise? Please clarify. Thanks!
Generally yes. This video should clear your question up ua-cam.com/video/zOnwgxiC0OA/v-deo.htmlsi=jsqtiCaVkMr2WBLr
in my almost 15 year of using Git, this is by far the best video on how to use merge and rebase. thank you!
Really appreciate you saying that. It means a lot coming from someone like you with so much experience. If you have a chance to share this video with someone who might benefit, please do. Cheers!
@@themoderncoder already did it :)
very cool , thank you !!!
As a single dev , I only ever use rebase amd NEVER merge just to keep the history strictly linear , however this is a luxury that larger teams might not have . The tip about only using rebase for your own local work is 100% the right way to use it , imo .
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!
Nicely done, thanks my dude.
new subscriber. best explain very very very nice
Thank you so much 🙂
Thank you a lot for this brother!
For sure, glad it was helpful. If you know anyone else who would benefit, please share a link!
I always squash and never allow teammates to work on my branch. This way you maintain main branch clean with only feature commits and avoid conflicts with teammate locally. The only use case I had was when I was introducing a big feature >100 files and split my PR into 6, then I was rebasing branches in order of building block of the feature, where last branch was rebased into main feature branch after reviews of my peers.
This a good anecdote for folks - in the real world sharing branches is not very common and workflows like you describe are more the norm.
Git mergetool is also useful
Best explanation
Please can u provide commads also
This is the video you’re looking for: Git MERGE vs REBASE: The Definitive Guide ua-cam.com/video/zOnwgxiC0OA/v-deo.html
perfect