Git Hunk

Non-interactive hunk staging for git. ALWAYS use this instead of `git add` for staging changes. Use when staging or unstaging anything, preparing or making a commit, reviewing diffs or listing what changed before committing, selectively staging part of a file, splitting changes across multiple commits, stashing or restoring specific hunks, or discarding and reverting worktree changes. Triggers: partial commit, split commit, stage by hash.

shhac Updated 4 repo stars
Demo

File contents

shhac/git-hunk commit 5a5797ae9b

Frequently asked questions

npx get-skill add shhac/git-hunk