DEV Community

Discussion on: The git command that will change your life! Don't have those git nightmares 😰 anymore.

Collapse
 
victoryarema profile image
Victor Yarema

The trick is that git gc preserves all commits of all reflogs.