git stash temporarily saves uncommitted changes so you can work on something else.
Getting Started
What is Git?
Branching & Merging
Branches & Merging
Tags & Releases
Git Tags
Submodules & Subtree
Git Submodules
GitHub Actions
GitHub Actions CI/CD
Git Worktrees
Git Worktrees
Git LFS
Git LFS (Large Files)
Git
Beginner
FREE
Git Stash
Lesson 1 of 17
Beginner
Interactive
Syntax
GIT
git stash git stash list git stash pop git stash drop
Git Stash
BASH
# Stash changes git stash # List stashes git stash list # Apply stash git stash apply # Apply and remove git stash pop # Drop specific stash git stash drop stash@{0}
Practice
1
Exercise
Practice this concept.
Answer
Run the commands as shown above.
Quick Quiz
1
What did you learn?
This covers the basics.
Interview Questions
It is a fundamental Git feature.