website/content/blog/git-diff-by-words.md

16 lines
339 B
Markdown
Raw Permalink Normal View History

2022-02-04 21:25:43 -05:00
---
2023-02-18 13:12:02 -05:00
date: 2022-02-04 21:23:30-05:00
2022-02-04 21:25:43 -05:00
draft: false
math: false
2023-01-05 14:04:45 -05:00
medium_enabled: true
2023-02-18 13:12:02 -05:00
medium_post_id: 1fa7eb8ae0f5
tags:
- Git
title: Git Diff by Words
2022-02-04 21:25:43 -05:00
---
When working in LaTex it is often more useful to see the changes by words as opposed to lines. Luckily, it's pretty easy to view this in the terminal.
```bash
git diff --color-words
2023-02-18 13:12:02 -05:00
```