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.
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-refcommand created the stash ref correctly butgit stash liststill did not show anything.I added the
--create-reflogparameter on a second try, and then things worked.git version 2.22.0on 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.