Go to the Git repository located at /usr/src/kodekloudrepos/blog on the Storage server.
/usr/src/kodekloudrepos/blog
Identify available stashes.
Apply the stashed changes with the identifier stash@{1}.
stash@{1}
Commit the restored changes with an appropriate message.
Push the changes to the origin remote.
origin
SSH to storage server and switch to root if needed
ssh natasha@ststor01 sudo su -
cd /usr/src/kodekloudrepos/blog
Confirm stash@{1} exists
git stash list
Restore the stashed changes
git stash apply stash@{1}
Confirm restored files are ready for commit
git status
git add . git commit -m "Restore changes from stash@{1}"
Push to remote
git push origin master
Last updated 7 months ago