Wrap Your Brain around 'Patch' and 'Diff' on Linux

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I never knew these tools existed, but now I realize they are most likely the heart and soul of git.

bruderdasisteinschwerermangel
Автор

The video stuck on 9:11. Can this be more controversial?

GoodOwl
Автор

git is bloat

i only use diff and patch

avocado
Автор

If you edit code with an editor and not a magnetized needle your existence is literally bloat.

mbednarek
Автор

Computers are bloat. I only use charcoal and tree bark.

LumenArty
Автор

Git uses its own implementation of diff. You can use `git diff --no-index` to get a git-style diff of any two files without creating a repository. One of it's best features is that it can show you not just a diff of lines but also a diff of words with the `--color-words` flag and a diff of characters with `--color-words=.`, which is useful when something just got renamed or there are a lot of lines with small changes so the regular diff output just isn't clear.

mc
Автор

I wonder if they noticed my secret message to investigate WTC 7 🤔

LukeSmithxyz
Автор

UNIX Chad just won't stop streaming and patching!

alexis
Автор

When you're writing TeX, you should break after every sentence (every colon).
This makes it easy to diff (and hence use git on) sentences.

andrejshm
Автор

When he patched the original thesis without making a backup, my heart died. I didn't know about the -R flag so when he whipped that out, huuuuge plot twist.

FoxywithaRubikscube
Автор

That thumbnail may be the best thing I've seen all week.

Element_Finland
Автор

Man, those thumbnails. Please don't stop making them. In fact, make a gallery, Instagram account or something to enjoy them apart from your YouTube channel. They are a state of art. Whenever you release a video with those meme thumbnails I think "the next video can't beat the fucking laugh I'm having with this one", and yet you manage to prove me wrong every single time.

Creativity 100

aaaar
Автор

Wow, i think diff and patch are the unaccredited souls/influencers of git
Git initial release: 7 April 2005
Diff Initial release: June 1974
Patch Initial release: May 24, 1985

Griimnak
Автор

I am learning to use dwm, but i have problem with how to do about error of patch, and after i watch your video everything is clear. Thank you Luke.

pypeetpy
Автор

Only me cried watching this? So beautiful

jorgenlsen
Автор

The Little head shake at 00:53, when you say about the times you were a normie 🤣🤣🤣🤣🤣

paolobassi
Автор

another great video... keep spreading the good word of suckless and dwm...

KingZero
Автор

Good video, I had the "error message" a day or two ago and this was just what I needed. By the way if you are a gentoo user reading this you can apply patches by putting them in and they will be applied on emerge. If you encounter the "error message" you can fix it like in the video and then compile, install and qmerge the ebuild(don't re-emerge as that will re unpack the source code and not apply your changes).

bananmanx
Автор

I use vim/gvim to look for changes/differences of two files. gvim has the option in the file menu. You can even change both files in parallel and the differences are displayed

cmdlp
Автор

this is brilliant, your explanations were extremely clear, thanks so much, i just subscribed :)

FirstOfJuneIX