Stash with message
Save uncommitted work (including untracked files) with a label
git stash push -m 'WIP: feature-x' -u
More git commands
-
git stash pop stash@{2}Apply and drop a specific stash entry
-
git bisect start && git bisect bad HEAD && git bisect good <good-sha>Binary search through history to find a regression
-
git worktree add ../feature-branch feature/my-featureCheck out a branch in a parallel directory without stashing
-
git submodule update --init --recursiveInitialize and update all submodules recursively
-
git show <sha>:path/to/filePrint the content of a file at a historical commit