Skip to content

Comments

Mark pre-absorb commit with PRE_ABSORB_HEAD ref#168

Merged
tummychow merged 3 commits intotummychow:masterfrom
sh-at-cs:fix-gh-157-pre-absorb-head-ref
Mar 15, 2025
Merged

Mark pre-absorb commit with PRE_ABSORB_HEAD ref#168
tummychow merged 3 commits intotummychow:masterfrom
sh-at-cs:fix-gh-157-pre-absorb-head-ref

Conversation

@sh-at-cs
Copy link
Contributor

This fixes #157 using the approach suggested in #157 (comment) and #157 (comment), i.e. marking the pre-absorption commit with a ref named PRE_ABSORB_HEAD before creating any fixup commits, thus allowing users to "undo" the last git absorb invocation by just doing git reset --soft PRE_ABSORB_HEAD.

@tummychow tummychow merged commit 98ff3ac into tummychow:master Mar 15, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: "Undo" subcommand / command-line flag

2 participants