Git restore specific stash file



The see what stash available :-

git stash list

To restore 

git checkout 'stash{0}' -- filename (filename is the file and path your want to restore - so it depends on where you are.

'stash{0}' - the quote here might be needed in some system, (i know it is needed in powershell)


Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type