-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
date: 2023-10-05 | ||
--- | ||
|
||
# Git rerere | ||
|
||
If you've ever had to abort a rebase or merge but didn't want to waste the work you already did resolving merge conflicts, then you should enable the git rerere option: | ||
|
||
`git global config rerere.enabled true` | ||
|
||
It stands for Reuse Recorded Resolution, and it essentially remembers how you resolved a merge conflict and will automatically reapply it sees it again. | ||
|
||
[Resolving conflicts with git-rerere](https://bitbucket.org/blog/resolving-conflicts-with-git-rerere) |