what is it?
when you want to record the current state of the working directory, but want to go back to a clean working directory or switching the branch without committing any code and losing any file.
The command saves your local modifications away and reverts the working directory to match the
How to use it
First need to add all the added, changed file, then use the git stash to save them and update the head commit:
git add .<br>git stash
To get the changes back, need to do the git stash pop to show all the save changes back in the git:
git stash pop