Re:Git rebase in depth
by lisper on Friday May 10, 2019 @03:24PM
(#19881339)
Or until you accidentally check in a file that contains a secret. Then the non-destructiveness becomes a serious problem.
[ Parent
| on HN ]
Two possibilities there: either your secret was published to others, and it's not a secret anymore, or it wasn't, and you can easily remove it. (Even from your local repo, if necessary remove the relevant blob hash)