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

mongosh install properly

gemini cli getting file not defined error

vllm : Failed to infer device type