Skip to content

Commit b56729e

Browse files
authored
📝 git rerere note
1 parent 5312b95 commit b56729e

File tree

1 file changed

+8
-0
lines changed
  • src/content/docs-md/random

1 file changed

+8
-0
lines changed

src/content/docs-md/random/git.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,14 @@ You can also checkout using time, like so:
793793
git checkout HEAD@{1.day.ago}
794794
```
795795

796+
# Rerere
797+
798+
Git has a setting called `rerere` (reuse recorded resolution) which helps reduce the need to constantly re-resolve conflicts. This can be enabled with:
799+
800+
```sh
801+
git config --global rerere.enabled true
802+
```
803+
796804
# Tools on Top of Git
797805

798806
## LazyGit

0 commit comments

Comments
 (0)