Git Stash
Tasks
- Go to the Git repository located at - /usr/src/kodekloudrepos/blogon the Storage server.
- Identify available stashes. 
- Apply the stashed changes with the identifier - stash@{1}.
- Commit the restored changes with an appropriate message. 
- Push the changes to the - originremote.
Steps
1
SSH to storage server and switch to root if needed
ssh natasha@ststor01
sudo su -3
Confirm stash@{1} exists
git stash list
4
Restore the stashed changes
git stash apply stash@{1}
5
Confirm restored files are ready for commit
git status
7
Push to remote
git push origin master
Last updated