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

16 lines
339 B
Markdown
Raw Normal View History

2022-02-05 02:25:43 +00:00
---
2023-02-18 18:12:02 +00:00
date: 2022-02-04 21:23:30-05:00
2022-02-05 02:25:43 +00:00
draft: false
math: false
2023-01-05 19:04:45 +00:00
medium_enabled: true
2023-02-18 18:12:02 +00:00
medium_post_id: 1fa7eb8ae0f5
tags:
- Git
title: Git Diff by Words
2022-02-05 02:25:43 +00: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 18:12:02 +00:00
```