Original chapter reference: Chapter 57: Git rerere. The command options and documentation recipes below are fully transcribed from Git Notes for Professionals.
rerere (reuse recorded resolution) allows you to tell git to remember how you resolved a hunk conflict. This allows it to be automatically resolved the next time that git encounters the same conflict.
Section 57.1: Enabling rerere
To enable rerere run the following command:
Source example · PDF page 182
$ git config --global rerere.enabled true
This can be done in a specific repository as well as globally.