Git rebase basics

  Рет қаралды 13,155

Team Programmer

Team Programmer

Күн бұрын

Пікірлер: 74
@techinsider3611
@techinsider3611 7 ай бұрын
thank you, bro. Watched your video after wasting 6 hours. I was just pushing using VS code after rebasing not force pushing. I almost quit programming. thank you so much
@AlexKovshovik
@AlexKovshovik 7 ай бұрын
You are very welcome, bro! Don't give up programming :)
@semibenhsan9551
@semibenhsan9551 9 ай бұрын
The best video on rebase on youtube ! Thanks a lot man !
@davidperry974
@davidperry974 3 жыл бұрын
This is such good information from an unfinished shed with a whiteboard nailed to the wall.
@teamprogrammer9650
@teamprogrammer9650 3 жыл бұрын
I shall rename the channel to Barn Programmer :) LOL. Thanks David!
@tejeswarsahu5578
@tejeswarsahu5578 3 жыл бұрын
This is very informative. Your white board explanation gives a clear idea like what is happening with merge commit and rebasing wrt graph.Earlier I used to clone the new repo when I see something like "can't merge" in my PR. But now I can solve the things very easily and confidently with rebasing.Thank you so much... :)
@teamprogrammer9650
@teamprogrammer9650 2 жыл бұрын
Thank you so much for your kind comment!
@dasrotrad
@dasrotrad 2 жыл бұрын
Your intros are a scream! Love the humor.
@arturbbakhtriger
@arturbbakhtriger Жыл бұрын
great material Alex
@AlexKovshovik
@AlexKovshovik Жыл бұрын
Thank you!!!
@mrsalem8118
@mrsalem8118 Жыл бұрын
Are you git god?) Very helpful!
@teamprogrammer9650
@teamprogrammer9650 Жыл бұрын
LOL, nope, just a man :D
@JaredFL
@JaredFL 2 жыл бұрын
Make more videos man. Your quality and editing is good and there's plenty more Git commands for video content.
@teamprogrammer9650
@teamprogrammer9650 2 жыл бұрын
I'm so sorry, have 4th child coming and I'm slammed at work lately :) Anyhow, thank you for your interest! I'm going to press forward!
@greyduck818
@greyduck818 2 жыл бұрын
Thanks a lot for having explain the need of force push instead of push!
@AyoubAHABBANE
@AyoubAHABBANE Жыл бұрын
THANKS man. Keep going and make more videos !!
@greyduck818
@greyduck818 2 жыл бұрын
You did an awesome job here! Let's make the next video!
@Mary-oz6xv
@Mary-oz6xv 2 жыл бұрын
Thank you! Very helpful!
@liyingwu8605
@liyingwu8605 Жыл бұрын
Thank you so much for your video!!
@RicardoBoribaMakuere
@RicardoBoribaMakuere Жыл бұрын
This was useful... please keep up the good work!
@FranckOlivier712
@FranckOlivier712 3 жыл бұрын
This is awesome! I usually clone a new copy of the repo rather than rebasing 😝😂
@teamprogrammer9650
@teamprogrammer9650 3 жыл бұрын
LOL, thanks!
@teamprogrammer9650
@teamprogrammer9650 3 жыл бұрын
Me too, every once in a while.
@sudhanshu-ranjan
@sudhanshu-ranjan 3 жыл бұрын
Awesome 👏👏 Can you please show when we will get conflicts while rebasing and then how we can resolve and commit the changes
@teamprogrammer9650
@teamprogrammer9650 2 жыл бұрын
Sure! Please watch my next video after this one :)
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
@@teamprogrammer9650 did you have it already or are you the nicest guy in the world?
@teamprogrammer9650
@teamprogrammer9650 Жыл бұрын
@@norbertomezzaucella9283 Already had it and yes, I am nice
@Mike-og4wc
@Mike-og4wc 3 жыл бұрын
An awesome explanation, bro!
@teamprogrammer9650
@teamprogrammer9650 3 жыл бұрын
Thanks bro!
@wilddough8859
@wilddough8859 Жыл бұрын
Awesome explanation, can you tell me how you got your terminal looking the way it did?
@teamprogrammer9650
@teamprogrammer9650 Жыл бұрын
Hey @WildDough, I used iTerm2 + a nice font "Fira Code" with ligatures enabled. Check out - it's pretty cool :)
@michaeli5113
@michaeli5113 2 жыл бұрын
thanks for simplified explanation, thisis great. one quick question, why do we need to run git rebase origin/main after updating out local main with git pull?
@AlexKovshovik
@AlexKovshovik 2 жыл бұрын
When you run "git fetch origin main", it doesn't update your local "main" branch - it only updates the local information about the remote "origin/main" branch. You run "git rebase origin/main" to update your local "main" using that info received with "fetch" command.
@michaeli5113
@michaeli5113 2 жыл бұрын
So what if I run git pull after git fetch, and rebase my local before pushing.. Does does this do the same thing?
@AlexKovshovik
@AlexKovshovik 2 жыл бұрын
@@michaeli5113 if you run the git pull, any remote changes will be added to you local branch: by either a merge commit or fast-forward (depending on your git client configuration). Merge commits are perfectly acceptable too, but if you’d like to keep your git commits nice and linear - you’re better off with rebase. This is explained more in my 2nd video (this channel)
@TheSumanb
@TheSumanb 3 жыл бұрын
please make related videos , its really helpful and thanks
@krunalkathikar2154
@krunalkathikar2154 2 ай бұрын
sir can you show what would happen if we do the rebasing on open repository as you said in video
@zeyadmoamen3265
@zeyadmoamen3265 2 жыл бұрын
You Are Awesome 👏👏👏👏
@krunalkathikar2154
@krunalkathikar2154 2 ай бұрын
Great video
@ShivamSharma-dq4pu
@ShivamSharma-dq4pu 9 ай бұрын
main vs master . ahahahahha epic reference . awesome video. thanks
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
First of all, thank you very much. I want to know what was funny at 0:50? Was about the sentence that started at 0:47? Is it because AF could also mean _as f.u.c.k_? I'm from Argentina and English isn't my first language.
@AlexKovshovik
@AlexKovshovik Жыл бұрын
Hi Norberto, thanks for your comment! At 0:50 I named my branch "af" for "awesome feature", which in slang also means "as f*#k", to make it sound like "branch as f*#k" :) So you are absolutely right and your English as great! I'm from Belarus, so my English isn't native either.
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
​@@AlexKovshoviktell your compatriotas that there's already a country named Russia. If the operator Bielo is is applied to russia, do you get una bellaRusia. Do you say you are cuter than them? Venezuela sorry ass Venice? The new england Patriots are almost an oxymoron
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
Were you in charge of edition?
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
Qué bueno que estuvo el comienzo! Are you related to that child?
@AlexKovshovik
@AlexKovshovik Жыл бұрын
@@norbertomezzaucella9283 Belarus just sounds like bieloRussia, but it’s really a separate country.
@balloth
@balloth 9 ай бұрын
"Make a copy of your local repo before rebase", or maybe just make a new branch and reset to it if you messed up the rebase.
@kermitdafrog8
@kermitdafrog8 Жыл бұрын
Is there a Git cheat sheet somewhere?
@teamprogrammer9650
@teamprogrammer9650 Жыл бұрын
Sure, lots of them. Lately you could even ask ChatGPT about exactly what you need git to do and it'll give you what you want. No more digging through documentation
@kermitdafrog8
@kermitdafrog8 Жыл бұрын
@@teamprogrammer9650 I'm planning on setting up a bash script to do what I need.
@aliabdollahian1465
@aliabdollahian1465 3 жыл бұрын
very helpful thank u :)
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
Alrededores de 1:45 Ocurre nuevamente Alrededor de 0:47 But he tamed the jumping beast and there's was no need to edit
@gaddp
@gaddp 2 жыл бұрын
this is so good "af"!!!!!!
@omersoncruz1081
@omersoncruz1081 3 ай бұрын
I just subscribed thanks Zuckerberg!
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
I asked the guys that work with me if they have forced push something once ever
@teamprogrammer9650
@teamprogrammer9650 Жыл бұрын
This sentence sounds like a sex joke LOL
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
@@teamprogrammer9650 me reí cómo tres o cuatro veces distintas. Entonces te cuento una intimidad Comenté lo que les dije para no hablar de la respuesta.. Para que quede una sensación de incompleto
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
Debe ser la primera vez que no hago la asociación de forced con la categoría pornográfica
@norbertomezzaucella9283
@norbertomezzaucella9283 Жыл бұрын
For being an intellectual ffuucckkiinngg teaser I was rewarded with funny interprétations now counting seex or fifes
@jacakopl
@jacakopl 6 ай бұрын
Same problem as every video on the internet- some abstract diagram. Not a real story of what the code and problem looks like.
@teamprogrammer9650
@teamprogrammer9650 6 ай бұрын
I'm sorry for having wasted your time. Please file a complaint with our public relations and the refund will be issued promptly.
@DavidTalbot1974
@DavidTalbot1974 Жыл бұрын
af 😀
Git: how cleanup commit history using interactive rebase
15:28
Team Programmer
Рет қаралды 7 М.
Git rebase: how to resolve conflicts
7:32
Team Programmer
Рет қаралды 43 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,1 МЛН
СОБАКА ВЕРНУЛА ТАБАЛАПКИ😱#shorts
00:25
INNA SERG
Рет қаралды 3,5 МЛН
When mom gets home, but you're in rollerblades.
00:40
Daniel LaBelle
Рет қаралды 142 МЛН
ЛУЧШИЙ ФОКУС + секрет! #shorts
00:12
Роман Magic
Рет қаралды 30 МЛН
Git Rebase Vs. Merge
19:59
Colt Steele
Рет қаралды 107 М.
How to finally Git Good
9:43
Code Persist
Рет қаралды 72 М.
Git Merge VS Rebase In REAL TIME | DevOps Shack
12:22
DevOps Shack
Рет қаралды 17 М.
Everything You'll Need to Know About Git with ThePrimeagen | Preview
14:43
Git MERGE vs REBASE
16:12
Academind
Рет қаралды 1 МЛН
Never* use git pull
4:02
Philomatics
Рет қаралды 547 М.
Git CLONE, PUSH & FETCH Tutorial
9:09
The Modern Coder
Рет қаралды 6 М.
How GIT works under the HOOD?
16:01
Tech With Nikola
Рет қаралды 203 М.
Git rebase is not that scary
21:44
Hitesh Choudhary
Рет қаралды 23 М.
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 136 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,1 МЛН