What is the command to apply a stash?

Sometimes we want to save our unfinished work. For this purpose we use git stash command. Once we want to come back and continue working from the last place where we left, we use git stash apply command to bring back the unfinished work.

So the command to apply a stash is:

git stash apply

Or we can use
git stash apply <stashname>

Leave a Reply

Your email address will not be published. Required fields are marked *