> grep -r "version control"▋
2 entries
Version control here is Git and its workflows: undoing commits (git reset --soft HEAD~1), stashing single files (git stash push -- <path>), and alternatives like Jujutsu.[source]
Coverage is command-level: every verb for undoing a commit, stash push/pop per file, and jj's operation log vs Git.[source][source]
auto-tended from 3 posts · every sentence cites its source · mortal on purpose
2026-09-21
git stash a Single File Without Losing the Rest
Stash one file while the rest of your work stays put: git stash push -- <path>, then pop one file back out of any stash with git restore. Copy-paste commands.
2026-09-03
Git Undo Last Commit: Keep Changes, Stay Safe
Git remove or undo the last commit and keep the changes: git reset --soft HEAD~1. Unstage with --mixed, fix a pushed commit with revert. Every verb, one page.