Command
Git Stash Changes Command
The Git command to stash changes is git stash.
Quick Answer
- Command
git stash
GitCommand
Stash Changes
Type this command
git stash
Temporarily shelves uncommitted changes.
How to stash changes in Git
- Open the terminal or command interface for Git.
- Type git stash, replace any placeholders, and run it.
Git Stash Changes Command
Run git stash.
Frequently asked questions
What is the Git command to stash changes?
Run git stash.
Where do I type this Git command?
Type it in the terminal or command-line interface used by Git.
Does this Git command work on Mac and Windows?
Yes. The command text is the same on both platforms when the tool is installed.
Official source · How we verify