Closed htulipe closed 1 month ago
Okay I'm pretty sure I found the issue. It's coming from the update command which does not handle untracked files well (the .env file in my case).
If I'm running what the command does, the git status --porcelain
will report untracked files but the following git stash
won't stash them, making the following git stash pop
fail. See output below:
➜ get-started-with-react git:(main) ✗ git status --porcelain
?? .env
➜ get-started-with-react git:(main) ✗ git stash
No local changes to save
➜ get-started-with-react git:(main) ✗ git stash pop
No stash entries found.
➜ get-started-with-react git:(main) ✗ echo $?
1
I'll submit a PR
Thank you for the PR!
Also, I should probably add a reference to the root .env
to the .gitignore
You're welcome :)
Hi,
This morning I ran the
npm start
command on the "Get started" workshop and saw they were some updates available. When running the provided update command I got an error ongit stash pop
(see command log below).Oddly enough, rerunning the update command raised no errors and I could run the workshop normally, looks like the update was successful after all.
For context:
EPICSHOP_EDITOR
)Cheers