To enable rerere run the following command:
rerere
$ git config --global rerere.enabled true
This can be done in a specific repository as well as globally.