meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| git:diff [2015/11/13 08:33] – created niziak | git:diff [2020/06/03 11:16] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== diff ====== | ||
| + | |||
| + | |||
| === Word and LibreOffice documents === | === Word and LibreOffice documents === | ||
| Trick is to convert document into text files and make diff on it. | Trick is to convert document into text files and make diff on it. | ||
| <code bash> | <code bash> | ||
| - | sudo apt-get install odt2txt | + | sudo apt-get install odt2txt |
| git config --global diff.odf.textconv " | git config --global diff.odf.textconv " | ||
| git config --global diff.word.textconv " | git config --global diff.word.textconv " | ||
| Line 9: | Line 12: | ||
| Create file '' | Create file '' | ||
| and put following lines into it: | and put following lines into it: | ||
| - | < | + | < |
| *.ods diff=odf | *.ods diff=odf | ||
| *.odt diff=odf | *.odt diff=odf | ||