Rebasing a long branch can feel like fixing the same conflict again and again. Git has a memory feature for that, and it is off by default.
It is called rerere, short for reuse recorded resolution. When it is on, git records how you resolved a conflict. The next time the same conflict shows up, it applies your earlier fix by itself.
git config --global rerere.enabled true
That is the whole setup. The docs say you need to set rerere.enabled to use it, and that git merge and git rebase call it automatically after that. It is aimed at long-lived topic branches where you keep hitting the same conflicts until the branch is done.
A useful case is a rebase you abort halfway, or a branch you merge into a test branch, throw the merge away and redo it later. The second time the conflict markers are already resolved.
The caveat: rerere only fills in the file. It leaves the index alone, so you still have to check the result with git diff and stage the file yourself. Do look at it. A resolution that was right once is not guaranteed to be right in a slightly different context.
If a recorded fix turns out to be wrong, git rerere forget <path> makes git drop it.
Further reading: git rerere documentation, On this site: tell git blame to ignore a big reformatting commit, On this site: use –force-with-lease, not –force
Going deeper: Guide: advanced tmux, a config that grows with you, formats, layouts and more