This almost worked for me. I found that the update-ref command created the stash ref correctly but git stash list still did not show anything.
update-ref
git stash list
I added the --create-reflog parameter on a second try, and then things worked.
--create-reflog
git version 2.22.0 on Ubuntu 18.04
git version 2.22.0
Thanks! I don’t have this issue in Git 2.20.1 (macOS 10.14.16) but added a note in the article.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This almost worked for me. I found that the
update-ref
command created the stash ref correctly butgit stash list
still did not show anything.I added the
--create-reflog
parameter on a second try, and then things worked.git version 2.22.0
on Ubuntu 18.04Thanks! I don’t have this issue in Git 2.20.1 (macOS 10.14.16) but added a note in the article.