paint-brush
Git Guide 3: diff and patchby@artwalker
122 reads

Git Guide 3: diff and patch

by Ethan Wang3mFebruary 21st, 2024
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

You use the diff command to find the differences between two files. The patch command is useful for applying file differences. The comparison is saved as a.diff file, which is then patched to the original file. Use the diff -u command to compare two files, line by line.

People Mentioned

Mention Thumbnail
featured image - Git Guide 3: diff and patch
Ethan Wang HackerNoon profile picture
Ethan Wang

Ethan Wang

@artwalker

Passionate about Crafting Intelligent OS & Pioneering TinyML Applications for Resource-Constrained Devices

0-item

STORY’S CREDIBILITY

Guide

Guide

Walkthroughs, tutorials, guides, and tips. This story will teach you how to do something new or how to do something better.

L O A D I N G
. . . comments & more!

About Author

Ethan Wang HackerNoon profile picture
Ethan Wang@artwalker
Passionate about Crafting Intelligent OS & Pioneering TinyML Applications for Resource-Constrained Devices

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Tefter
Buaq