0
0
Gitdevops~5 mins

Rerere for repeated conflict resolution in Git - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does 'rerere' stand for in Git?
'rerere' stands for "reuse recorded resolution." It helps Git remember how you resolved conflicts before and apply the same fix automatically next time.
Click to reveal answer
beginner
How do you enable rerere in Git?
You enable rerere by running the command: git config --global rerere.enabled true. This tells Git to start remembering conflict resolutions.
Click to reveal answer
intermediate
What happens when Git rerere detects a conflict it has seen before?
Git automatically applies the previously recorded resolution to the conflict, saving you time and effort in fixing the same conflict again.
Click to reveal answer
intermediate
Where does Git store the conflict resolutions recorded by rerere?
Git stores them in the .git/rr-cache directory inside your repository.
Click to reveal answer
intermediate
Can rerere be used with merge and rebase operations?
Yes, rerere works with both merge and rebase to help automatically resolve conflicts you have fixed before.
Click to reveal answer
What is the main purpose of Git rerere?
ATo automatically commit changes
BTo remember and reuse conflict resolutions
CTo delete branches safely
DTo speed up cloning repositories
How do you enable rerere in Git?
Agit config --global rerere.enabled true
Bgit rerere enable
Cgit enable rerere
Dgit rerere start
Where does Git store rerere conflict resolutions?
A.git/cache
B.git/conflicts
C.git/resolutions
D.git/rr-cache
Which Git operations benefit from rerere?
AMerge and rebase
BClone and fetch
CPush and pull
DInit and status
If rerere is enabled, what happens when you face a conflict you've resolved before?
AGit ignores the conflict
BGit deletes the conflicting files
CGit applies the previous resolution automatically
DGit asks you to resolve it again manually
Explain how Git rerere helps with repeated conflict resolution.
Think about how you might not want to fix the same problem twice.
You got /3 concepts.
    Describe the steps to enable and use rerere in your Git workflow.
    Start with the configuration, then what happens during conflict.
    You got /4 concepts.