4 ms·
You don't need to create backup branches ahead of time with git, because the reflog saves every branch before every operation. You can create your backup branc
by DarylZero 5y ago
You don't need to create backup branches ahead of time with git, because the reflog saves every branch before every operation. You can create your backup branch from the reflog _after_ you discover you need it!
- icedchai 5y agoI did use the reflog once, when I forgot to make a backup branch. It's not one of the commands I use regularly though.