I am able to stash a patch of changes
by doing git stash save --patch name
, which gets listed when I do git stash list.
Now how do I refer to this stash using the name?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Stashes are named using the usual reflog syntax like
stash@{0}etc. which is what you see ingit stash list. There is no concept of passing name to a stash. You are probably talking about the stash message ( which, you also see ingit stash list)and you cannot refer a stash using its message ( of course )