3 ms·
Sure can, for instance a hg-like commit stages system for rebase would prevent a lot of rebase caused issues.
by Arelius 4y ago
Sure can, for instance a hg-like commit stages system for rebase would prevent a lot of rebase caused issues.
- weaksauce 4y ago> hg-like commit stages system not familiar with what you're referring to... can you elaborate?
- mmmmmbop 4y agoIt refers to Mercurial, another really popular distributed revision control system.
- Arelius 4y agoI got the name wrong, it’s phases https://www.mercurial-scm.org/wiki/Phases https://www.mercurial-scm.org/wiki/Phases In short, every commit can be in one of three phases, secret, draft, and public. Commits transition to public when you push them somewhere someone else might depend on them, and rebase won’t allow you to rebase any public commits. Commits can of course be manually transitioned back as a “I know what I’m doing step” but this provides a lot of safety for casual rebases. (Secret just prevents the commit from being accidentally pushed)