1

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?

1 Answer 1

1

Stashes are named using the usual reflog syntax like stash@{0} etc. which is what you see in git stash list. There is no concept of passing name to a stash. You are probably talking about the stash message ( which, you also see in git stash list )and you cannot refer a stash using its message ( of course )

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.