Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to get git stash changes back

git stash:
Saved working directory and index state WIP on main: 491e3b27 New Import Files

To check stash list: 
git stash list

To get back all previous changes, you have two options to reapply your stash:
git stash pop - Restore back to the saved state, but it deletes the stash from the temporary storage.
git stash apply - Restore back to the saved state and leaves the stash list for possible later reuse.
Source by www.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #How #git #stash
ADD COMMENT
Topic
Name
5+5 =