Advanced Git Tutorial - Interactive Rebase, Cherry-Picking, Reflog, Submodules and more

  Рет қаралды 266,024

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 131
@xcan8872
@xcan8872 3 жыл бұрын
This is like an ASMR video for programmers
@ricardotrejoruiz5776
@ricardotrejoruiz5776 2 жыл бұрын
thats true man, bring me a lot of piece knowing how can I save the day after the panic comes up jajaj
@marcello4258
@marcello4258 2 жыл бұрын
@@ricardotrejoruiz5776 siiiiiii jajaja
@nathanyang3288
@nathanyang3288 2 жыл бұрын
LOL
@saqlainalvi5485
@saqlainalvi5485 2 жыл бұрын
@@marcello4258 siii jaja indeed
@khanfaizan05
@khanfaizan05 9 ай бұрын
So true😂😂
@P0cketfull0fsunshine
@P0cketfull0fsunshine 2 жыл бұрын
Fantastic video, really helped me out. The fact that Tobias sounds exactly like Christoph Waltz is the cherry on top
@sshanit
@sshanit 3 жыл бұрын
Clear explanation with practical examples. Thank you!
@Whatever0704
@Whatever0704 7 ай бұрын
I would also mention one very important feature of rebase... that you are re-basing your feature branch on the latest/tip from the master branch. This can avoid many merge conflicts. I would very often pull, rebase, validate my code, squash and merge
@nitishkumarjha7726
@nitishkumarjha7726 2 жыл бұрын
Thanks!
@orafasistemas
@orafasistemas 2 жыл бұрын
Watched twice.... could not believe I've understood so easily... Thank you for sharing this content.
@noob78
@noob78 6 ай бұрын
Lol
@jithintc4200
@jithintc4200 3 жыл бұрын
I was actually looking for a good git course. Thank you !
@nechetv6268
@nechetv6268 3 жыл бұрын
@freecodecamp Please I registered online but I have a question do you guy have a student group chat please, I what to join
@BeingHumanInSouthAfrica
@BeingHumanInSouthAfrica 3 жыл бұрын
I love the merging of commits, especially when one is doing a long term development and then needs to cherry pick to the develop branch. One can do all the merges on the branch and then the Merge Master Person can do the merge to develop or Master branches. I love software development, because it is so safe and easy to have a happy-ending. I had a good laugh. Thanks.
@matthaiossigalas6222
@matthaiossigalas6222 Ай бұрын
You saved my day with the reflog ! Thank you !
@AelousFox
@AelousFox 3 жыл бұрын
Nice video! The cherrypick command has definitely been a lifesaver for me a few times
@RamsesYT
@RamsesYT Жыл бұрын
This is a very educational video, Tobias, thanks from Amsterdam! 🎉😊
@osvaldoaguilarlauzurique8025
@osvaldoaguilarlauzurique8025 2 жыл бұрын
Best git video on internet, thank you so much.
@HaouasLeDocteur
@HaouasLeDocteur 2 жыл бұрын
such a wonderful instructor.
@sander_bouwhuis
@sander_bouwhuis 3 ай бұрын
I learned a lot from this video. Most of this (except for submodules) I knew already, but not good enough to actually use it with confidence.
@navyapramod5612
@navyapramod5612 2 жыл бұрын
One of the best git tutorials
@thesavithaheshanoffi
@thesavithaheshanoffi 3 жыл бұрын
the best channel i found in whole yt
@usmanpervaiz2043
@usmanpervaiz2043 Жыл бұрын
Really Great Video 🚀
@yonatankaplonov9616
@yonatankaplonov9616 Жыл бұрын
best video I've seen so far thank you!
@marioestrada2233
@marioestrada2233 3 жыл бұрын
This guy makes the best git tutorials!! Thanks tons!!!
@iyadomry9801
@iyadomry9801 Ай бұрын
The best explanation ever thank u
@archananegi9647
@archananegi9647 Жыл бұрын
Best git learning video ever.I am wondering why couldn’t I watch this earlier
@chroma-sync
@chroma-sync 3 ай бұрын
Great video and clear explanation! thank you.
@khomo12
@khomo12 Жыл бұрын
Very, very good!!👍👍Thank you!
@dunezoop
@dunezoop 2 жыл бұрын
Thanks Cristoph Waltz!
@iAmTheWagon
@iAmTheWagon 3 жыл бұрын
Exactly what I needed to see. Thank you so much.
@devbites77
@devbites77 Жыл бұрын
Wonderfully explained. Really clear and useful examples.
@bestchoice7431
@bestchoice7431 Жыл бұрын
Very well explained.
@nneddenn6207
@nneddenn6207 Жыл бұрын
Thanks guys, it was really helpful and informative! Really nice content!
@philipoakley5498
@philipoakley5498 2 жыл бұрын
You can push an updated history (see rebase warning) to a *personal fork*, and it's probably a good policy if it provides a local backup. Just make sure that, even if it's public to the team, that folks don't assume immutability of your fork's branch...
@mumk
@mumk 7 ай бұрын
interactive rebase is so cool
@MrStarcraftangle
@MrStarcraftangle 2 жыл бұрын
I find REFLOG very useful. TIL. Thanks!
@anonlegion9096
@anonlegion9096 2 ай бұрын
Holy sh*t, why didn't anyone tell me about reflog before? This is an amazing feature, could've saved my ass in the past a bunch of times
@HoangTMOFFICIAL
@HoangTMOFFICIAL Жыл бұрын
Very well explained. Thanks
@sathishtv3068
@sathishtv3068 2 ай бұрын
Big fan.. thanks for the useful session..
@sofiaborovskaia3714
@sofiaborovskaia3714 2 жыл бұрын
This was very helpful, so well explained. Thank you!
@ahmadhassan8560
@ahmadhassan8560 Жыл бұрын
great stuff, really appreciate the content.
@kovid.rathee
@kovid.rathee 2 жыл бұрын
This is fantastic!
@behruzisaev2102
@behruzisaev2102 2 жыл бұрын
Very well explained. Thanks a ton!
@trianglesupreme
@trianglesupreme 3 жыл бұрын
I suggest to use *gitk* side by side while following the tutorial to understand the things in-depth.
@kishr4u1
@kishr4u1 2 жыл бұрын
good one to learn and refresh some advanced concepts with decent practical examples.. better try it as he explains
@ks.749
@ks.749 3 жыл бұрын
Thank you so much Mr.jobs
@ahmedalhallag3338
@ahmedalhallag3338 3 жыл бұрын
I was just revising these concepts. Thank you!
@amortalbeing
@amortalbeing 2 жыл бұрын
This was great thanks.
@alikaraki4929
@alikaraki4929 2 жыл бұрын
what a great video! thank you
@senkogaming4784
@senkogaming4784 3 жыл бұрын
Really great video! I've learned ton of things on this channel. Also his voice makes it more relaxing and understandable. It would be nice if you did a Python's AsyncIO-related course though. I'm sure enough that a lot of people will find it helpful.
@TheMsksk
@TheMsksk 3 жыл бұрын
It certainly would be!
@rohantaneja
@rohantaneja 3 жыл бұрын
Great content! So polished 👌🏼
@BBuckB
@BBuckB 3 жыл бұрын
Awesome content! Thank you!
@maloukemallouke9735
@maloukemallouke9735 3 ай бұрын
thank you for share, submodules it's realy hard .
@jose6183
@jose6183 3 жыл бұрын
Your accent reminds me of Christoph Waltz. Very cool video, thank you!
@ShahzadAli-fr1uy
@ShahzadAli-fr1uy 3 жыл бұрын
This is really helpful content, Thank you!
@tech-wandeveloper7495
@tech-wandeveloper7495 3 жыл бұрын
Nice, thank you!
@javascript_developer
@javascript_developer Жыл бұрын
awesome. Thanks
@mycollegeLife.
@mycollegeLife. 11 ай бұрын
This man is founder of TOWER.
@diegocl02
@diegocl02 3 жыл бұрын
This is really helpful, thanks!
@hamedsedaghat965
@hamedsedaghat965 3 жыл бұрын
That was very usful and also easy to understand thank you a million
@prathameshsagvekar6696
@prathameshsagvekar6696 3 жыл бұрын
thanks again, tried all the concept. #thankyou. (still have some doubts on submodule)
@andygr1n1
@andygr1n1 3 жыл бұрын
Thank you, very useful
@qiweiliu5410
@qiweiliu5410 2 жыл бұрын
it is really amazing that git reflog can undo git reset
@cw3dv
@cw3dv 3 жыл бұрын
damn!! this is soooo coool!! very helpful, thank u so much ☺
@madhousenetwork
@madhousenetwork 3 жыл бұрын
Thank you for this. this is too good
@dj_mk_crazy
@dj_mk_crazy 9 ай бұрын
26:03 I typed `git submodule update --init --recursive` on the same cloned repo but nothing happened. Actually nothing happens if I type any submodule command. Also, the `--recurse-submodules` clone option does not update the submodules neither... What am I missing? 🤔
@lakhveerchahal
@lakhveerchahal 2 жыл бұрын
That's very helpful
@nadeemahmed7947
@nadeemahmed7947 3 жыл бұрын
thank you so much it's very helpful, I learn a lot from this video
@tuananhtran4544
@tuananhtran4544 3 жыл бұрын
thank u for this good course
@peterhyperaung
@peterhyperaung 3 жыл бұрын
wow GOTTA learn this too! -,-
@CBMM_
@CBMM_ 8 ай бұрын
Thanks a lot! at 26:00 What is --recursive tag for? and do we do the same just without --init for next times that we want to pull submodules?
@waelmashal7594
@waelmashal7594 3 ай бұрын
Amazing
@JagdeepSing49
@JagdeepSing49 3 жыл бұрын
good content nicely presented
@ujjawal6660
@ujjawal6660 3 жыл бұрын
Thank you!!!!
@slavg-k9l
@slavg-k9l Жыл бұрын
So at the point where squash was used (8:18) instead of deleting the two messages writing one above them is the way to create on single message? Because according to the instructions anything not starting with '#' will remain?
@pol165
@pol165 3 жыл бұрын
This channel should actually be the most pupular education channel. I feel like people spend a lot of time watching stupid videos on youtube like some populare gamers or idk. If they spend the time learning something good, they will actually get new skills
@navedshaikh8375
@navedshaikh8375 Жыл бұрын
Great explanation with live examples, everyone please hit like on this video and comment
@And1997Ruz
@And1997Ruz Жыл бұрын
Great content, just the interactive rebase by itself would've been enough to make a great video. But wait, there's more?... Really good stuff
@atchutram9894
@atchutram9894 11 ай бұрын
At 2:41 he says, 'Do NOT use Interactive Rebase on commits that you've already pushed/shared to a remote repository'. But subsequently, he goes ahead to change the commits that are in 'origin' repo. What am I missing?
@animarain
@animarain Жыл бұрын
It's funny that half the commands of git are not there for every day use but for those "oops, I f*cked up" moments. 😛
@gopsda
@gopsda 3 жыл бұрын
Thanks for the demo git session. Very informative. @7:50, I noticed that you wanted to combine 3rd and 4th, instead combined 2nd and 3rd. it doesn't matter as this is a demo to show how to combine two commits. just an observation...
@DavidLindes
@DavidLindes 3 жыл бұрын
Hmm, I don't think you're correct here? It seems to me that this combined 2b504be (was HEAD~3, "Change headlines...") with eb972b4 (was HEAD~2, "Optimize...") into 59505fd (new commit, newly HEAD~2, "Combine..."), which is followed by 4376d4d (nee 2d42208, aka HEAD~1 in both trees, "Change the page...") and _ (nee ce22112, aka HEAD in both, "Improve headline..."). Which matches 6:51 (though I could see potential confusion in the opposite direction from cursor position at 6:48...).... ?
@gopsda
@gopsda 3 жыл бұрын
@@DavidLindes Sorry, my bad. I was looking at the lines only. I noticed that these lines are listed in the reverse order in the git log --oneline, with Headline appearing first. Thanks for correcting me. It makes sense now.
@DavidLindes
@DavidLindes 3 жыл бұрын
@@gopsda Ah, yeah, they do show up in opposite order between those two views, so that makes sense! And, gladly done. I'm glad it landed well. Thanks for the response.
@alberteinstein7231
@alberteinstein7231 3 жыл бұрын
thank you
@rodrigodiazf2147
@rodrigodiazf2147 3 жыл бұрын
thank you alot
@istvan368
@istvan368 3 жыл бұрын
thanks a lot :)
@knutblaise9437
@knutblaise9437 3 жыл бұрын
Do you have any videos or resources on Linux distro repositories? I'd like to understand how access control and the documenting of code reviews for Linux distro repositories is handled before moving to Linux.
@vijaykanth9980
@vijaykanth9980 3 жыл бұрын
Hi sir, please do a full video on Azure Terrafrom
@LordSplynter
@LordSplynter 3 жыл бұрын
Like my stats teacher told me, "you can know how to program in every single programming language, but if you dont know Git and how to use it, you are screwed"
@DyslexicMitochondria
@DyslexicMitochondria 3 жыл бұрын
Yupppp
@tomhappening
@tomhappening 3 жыл бұрын
@@DyslexicMitochondria your username made me click on your profile. Your channel is a hidden gem bro
@dark9615
@dark9615 3 жыл бұрын
YOU ALL ARE GODS.............
@Neolisk
@Neolisk 3 жыл бұрын
That's why you always create a new branch before reset.
@TorreyBraman
@TorreyBraman 3 жыл бұрын
I
@Aba9846
@Aba9846 3 жыл бұрын
A bit too late for me, had to implement cherry picking earlier today for the first time lol
@nikoman71326
@nikoman71326 Жыл бұрын
what if the editor window is not popping up after git rebase -i HEAD~2? content opens in the terminal where it is uneditable. Thanks
@azir8930
@azir8930 Жыл бұрын
❤‍🔥
@bhagyalakshmi1053
@bhagyalakshmi1053 Жыл бұрын
Letter also small I will collect in further laptop and TV
@declanmcardle
@declanmcardle 3 жыл бұрын
In the first section #1. This is on a local branch? Not master/main? Can you "reword" a commit message on something already merged to master/main? [I'll watch the rest first...]
@ricardotrejoruiz5776
@ricardotrejoruiz5776 2 жыл бұрын
awsome, biutiful
@source8093
@source8093 3 жыл бұрын
How about configurating apache with php/js/etc?
@rasoihamariorapki4867
@rasoihamariorapki4867 3 жыл бұрын
That is good
@AshrafMMA
@AshrafMMA 3 жыл бұрын
👌
@vladimirfokow6420
@vladimirfokow6420 Жыл бұрын
👍
@tsdineshjai8565
@tsdineshjai8565 2 жыл бұрын
Someone kindly let me know how to go back to screen after we change the pick to reword/squash in gitbash. I am trying to press enter as mentioned in the tutorial, its not working for me.
@ijazali9736
@ijazali9736 3 жыл бұрын
Can we directly push our project code to our server and update it there, instead of pushing it github and then updating from there? Thanks
@frayy5953
@frayy5953 3 жыл бұрын
Hey, just want to ask… Should i download ubuntu terminal for windows or should i use powershell terminal?
@zereko8638
@zereko8638 3 жыл бұрын
ubuntu terminal
@senkogaming4784
@senkogaming4784 3 жыл бұрын
whatever works for you, if you don't really care about padding, fonts and colors, then stick with what you are already with. Although I think that Windows already has a GUI if you ever want to tweak something.
@Apprenticer
@Apprenticer Жыл бұрын
Happy-ending
@pfbrodriguez
@pfbrodriguez 2 жыл бұрын
if you are the reflog creator, I owe you a beer
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 131 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,2 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 4,9 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 20 МЛН
The Role of Indian Standards in Advancing Electrical Design for Better Safety
1:35:43
NATIONAL FEDERATION OF ENGINEERS
Рет қаралды 16
How to Undo Mistakes With Git Using the Command Line
55:21
freeCodeCamp.org
Рет қаралды 86 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
Git Tutorial for Beginners: Learn Git in 1 Hour
1:09:13
Programming with Mosh
Рет қаралды 2,6 МЛН
How to be a git expert
46:26
Floating Little Leaves of Code
Рет қаралды 174 М.
Learn Git - The Full Course
4:20:00
Boot dev
Рет қаралды 87 М.
Git Submodules Tutorial | For Beginners
14:52
Redhwan Nacef
Рет қаралды 161 М.
Git and GitHub for Beginners - Crash Course
1:08:30
freeCodeCamp.org
Рет қаралды 4,3 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 4,9 МЛН