> For the complete documentation index, see [llms.txt](https://beyondcompare.gitbook.io/project/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://beyondcompare.gitbook.io/project/git/patches.md).

# Patches

Diff and Patch are traditional commands in the Unix terminal.

But you can also generate patches from a session of BC **Text Compare**.  Once your two files are open in Text Compare, choose from the menu: `Session->TextCompareReport`

![](/files/-LgipAmD81PtLNB-AwFp)

Beyond Compare can generate the report...er the patch, in three formats, shown below.   Left to right these are Normal-diff, context-diff, and unified-diff:

![](/files/-Lgiq8DyqBoJrJ1u7GCn)

The +++ and --- don't mean add and subtract.  They are just [low-res](https://twitter.com/dfpatchnotesbot) ways to say File One and File Two.

Helpful:

{% embed url="<https://linuxacademy.com/blog/linux/introduction-using-diff-and-patch/>" %}

{% embed url="<http://www.scootersoftware.com/support.php?zz=kb_patch>" %}
