The HIDDEN Git Trick for Resolving Merge Conflicts

  Рет қаралды 17,551

DevOps Toolbox

DevOps Toolbox

Күн бұрын

This handy trick, that even Git's docs consider "hidden", could have saved me so much frustration in the past... Better late than never I guess: meet Git "rerere".
Ways to support this channel:
🎓 My course: learn.omerxx.com/courses/seco...
📰 Become a better engineer in just 3 minutes a week: signup.omerxx.com
⌨️ Tech I use: kit.co/omerxx/my-battle-station
LINKS
▶ git-scm.com/book/en/v2/Git-To...
▶ Dotfiles: github.com/omerxx/dotfiles
⏱ Timestamps
00:00 - Intro
01:14 - Configuration
01:35 - Walk through
06:10 - Under the hood
07:11 - Merge conflicts with Vim
#neovim #git #neogit #lazygit #terminal #vim #dev #devops #linux #console

Пікірлер: 35
@typecraft_dev
@typecraft_dev Ай бұрын
I'm a simple guy. I see Devops Toolbox, I hit the like button
@devopstoolbox
@devopstoolbox Ай бұрын
Ahhh a comment from the one and only! 💙
@AlexVKapa
@AlexVKapa 21 күн бұрын
Today we learnt how to resolve simple merge conflict in 8 minutes... great job!
@anmol-fzr
@anmol-fzr 28 күн бұрын
Do not use github's logo as git's logo.!!
@clarkgriswald8575
@clarkgriswald8575 27 күн бұрын
This ^
@BhEaN
@BhEaN Ай бұрын
Nice!! I didn't know this Git feature, thanks for sharing!
@Ulchie
@Ulchie Ай бұрын
This was making me a bit squeamish until I saw that it didn't just move on through the rebase when using the previous resolution. Nice feature that thankfully is not entirely automated. Definitely the right call by the implementers.
@devopstoolbox
@devopstoolbox 29 күн бұрын
I agree. Until figuring it stops I was a little puzzled / worried about unwanted results but it's pretty simple if you look under the hood
@brotein_mancakes
@brotein_mancakes Ай бұрын
Nice video. I’d never heard of git rerere (the name of the command does not roll of the tongue tho… ha). I’m looking forward to trying this out. Thanks! Btw your Moonlander tenting game is strong. I’ve got the tenting kit on mine but haven’t gone too far with it yet.
@devopstoolbox
@devopstoolbox 29 күн бұрын
Totally the worst name ever 😆 And yeah - I figured if I'm going to tent it lets go all the way :)
@PabloFernandezFranco
@PabloFernandezFranco 29 күн бұрын
Great video ! Watching here from Spain. I hope your Spanish learning is going well :)
@devopstoolbox
@devopstoolbox 29 күн бұрын
Haha por supuesto!
@0x6664
@0x6664 26 күн бұрын
Great feature thanks for sharing. And thanks for getting one of our keyboard :)
@devopstoolbox
@devopstoolbox 25 күн бұрын
The Moonlander 👀? Is that you??
@0x6664
@0x6664 25 күн бұрын
@@devopstoolbox I work with ZSA, mainly on developing Oryx and Keymapp and some hardware stuff.
@0x6664
@0x6664 25 күн бұрын
@@devopstoolbox I work with ZSA, developing Oryx and Keymapp as well as some other hardware stuff.
@0x6664
@0x6664 25 күн бұрын
I work with ZSA, developing Oryx and Keymapp and some other hardware stuffs.
@mohmaster732
@mohmaster732 Ай бұрын
How are you getting the tenting on your moonlander so high? I'd love to try that on my ergodox ez
@devopstoolbox
@devopstoolbox 29 күн бұрын
I got the platform kit from ZSA. There are plenty of community templates you can 3D print but I decided to went with the robust solution. It's a little pricy but I love it
@mohmaster732
@mohmaster732 29 күн бұрын
@devopstoolbox awesome I'll check that out. Thank you, and I really enjoy your videos! I've referenced your dotfiles quite a few times while fleshing out my neovim config
@devopstoolbox
@devopstoolbox 29 күн бұрын
@@mohmaster732 🙏🏽💪
@ZilverDx
@ZilverDx Ай бұрын
Easy to remember this git command. BTW in spanish H is mutted which means it sounds like ola ;-)
@devopstoolbox
@devopstoolbox Ай бұрын
Ah! Good to know! Thanks :)
@JMIK1991
@JMIK1991 25 күн бұрын
I like simple things, including merger errors. If it happens, I've done something really wrong, or I'm not alone. They are not scary, and I should always know about it, as it tells things are working correctly.
@devopstoolbox
@devopstoolbox 24 күн бұрын
If you watched you know you’ll always be aware of the mistake, the resolving change is also pointed out and never comited for you… more of a suggestion than an auto-fix
@vivgui
@vivgui 18 күн бұрын
whats terminal prompt config? it looks beautiful!
@devopstoolbox
@devopstoolbox 18 күн бұрын
Thanks! This is starship! I have a video covering its configuration but if you want to just see mine it's here - dotfiles.omerxx.com
@vivgui
@vivgui 18 күн бұрын
@@devopstoolbox thank you!
@myusernameislongerth
@myusernameislongerth Ай бұрын
what makes your cat do all that - line numbers, syntax highlight? is that something else that you call cat? I know cat -n does the line numbers, but rest?
@devopstoolbox
@devopstoolbox Ай бұрын
Meet bat! github.com/sharkdp/bat
@jorge28624
@jorge28624 Ай бұрын
git branch otra-rama
@Quephara
@Quephara Ай бұрын
Do you have a cold? It sounds like you do
@devopstoolbox
@devopstoolbox 29 күн бұрын
I DID! Still trying to figure whether it made my voice sexier 😆
@Markadown
@Markadown 26 күн бұрын
@@devopstoolbox can confirm
The Holy Grail of Neovim Git Integrations
13:28
DevOps Toolbox
Рет қаралды 28 М.
Harder Than It Seems? 5 Minute Timer in C++
20:10
The Cherno
Рет қаралды 133 М.
2000000❤️⚽️#shorts #thankyou
00:20
あしざるFC
Рет қаралды 15 МЛН
1❤️#thankyou #shorts
00:21
あみか部
Рет қаралды 83 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 8 МЛН
100❤️
00:20
Nonomen ノノメン
Рет қаралды 70 МЛН
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 182 М.
I Tried Every AI Coding Assistant for Neovim
17:30
DevOps Toolbox
Рет қаралды 24 М.
MUST KNOW bashrc customizations to boost productivity in Linux
13:38
The Ultimate Database Control. Right WITHIN NEOVIM
9:35
DevOps Toolbox
Рет қаралды 50 М.
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 82 М.
Git rebase is not that scary
21:44
Hitesh Choudhary
Рет қаралды 16 М.
You shouldn’t be taught Git feat. ThePrimeagen | Backend Banter 054
59:42
My Initial Impresson Of Go
12:39
TheVimeagen
Рет қаралды 72 М.
I Was Wrong About React Router.
19:06
Theo - t3․gg
Рет қаралды 56 М.
Cool Tools I’ve Been Using Lately
23:11
Theo - t3․gg
Рет қаралды 165 М.
Main filter..
0:15
CikoYt
Рет қаралды 5 МЛН
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 231 М.
keren sih #iphone #apple
0:16
kadangaruan
Рет қаралды 1,7 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,4 МЛН