top of page
INTERMEDIATE LEVEL
Q15: What is the "git stash" command used for?
The `git stash` command allows you to temporarily save changes that are not ready to be committed yet.
It's useful when you need to switch to a different branch or apply a hotfix but don't want to commit incomplete work.
You can later retrieve the changes from the stash using `git stash apply` or `git stash pop`.
bottom of page