Files
developer-roadmap/roadmaps/git-github/content/git-stash-basics@X9K3PBpGsMoXkJsKdJPI7.md
T
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

656 B

Git Stash Basics

Git stash temporarily saves uncommitted changes so the working directory can be cleaned without committing incomplete work. The command git stash saves the current changes and reverts the working directory to match the last commit, while git stash pop restores them later. This is useful when a developer needs to quickly switch branches or pull updates without losing in-progress work.

Visit the following resources to learn more: