3 ms·
why create a backup branch instead of just pointing the rebased branch back at the original commit?
by Jochim 3y ago
why create a backup branch instead of just pointing the rebased branch back at the original commit?
- nordsieck 3y ago> why create a backup branch instead of just pointing the rebased branch back at the original commit? I mean, isn't that what a backup branch is? How are you going to get the hash of the original commit if you don't create a branch? I suppose you could use git log or something to print the hash to the terminal, but that's just way more fragile than using git to keep track.
- seba_dos1 3y agogit already keeps track of refs for you.