Skip to main content

Module git_checkpoint

Module git_checkpoint 

Source
Expand description

Lightweight git checkpoints for edit rollback.

Uses git stash create to snapshot the working tree WITHOUT modifying the stash list or working tree. Rollback via git stash apply <ref>.

Functionsยง

create_checkpoint
Create a checkpoint. Returns SHA if there are uncommitted changes, None if clean.