5 ms·
> My guess of how git would like you to solve this problem would be with a throwaway commit that you then delete with an interactive rebase. That's actually a
by KronisLV 4y ago
> My guess of how git would like you to solve this problem would be with a throwaway commit that you then delete with an interactive rebase.
That's actually a good idea (even if the method feels a bit... contrived), thanks for the advice!
- afiori 4y agoOne of the major drawbacks is that git has no way (AFAIK) to rebase multiple branches, so if above that throwaway commit you have multiple branches, tags, or merges then it is not immediate to rebase the whole tree.