Problem Statement
What does `git stash --keep-index` do and when is it useful?
Explanation
It stashes only unstaged changes while leaving the index intact. Useful before running tests/CI on exactly what is staged for commit without noise from local WIP.
Practice Sets
This question appears in the following practice sets: