From 2a5eb137f621006c42dcc17bbe3039122eddc615 Mon Sep 17 00:00:00 2001 From: Bjarke Sporring Date: Thu, 15 Jan 2026 16:42:45 +0100 Subject: [PATCH] fix: stash challenge --- 01-essentials/07-stash/setup.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01-essentials/07-stash/setup.ps1 b/01-essentials/07-stash/setup.ps1 index 4359767..1703a44 100644 --- a/01-essentials/07-stash/setup.ps1 +++ b/01-essentials/07-stash/setup.ps1 @@ -158,10 +158,10 @@ Write-Host "`nYour task:" -ForegroundColor Yellow Write-Host "1. Navigate to the challenge directory: cd challenge" -ForegroundColor White Write-Host "2. Check your status: git status (see uncommitted changes)" -ForegroundColor White Write-Host "3. Stash your work: git stash save 'WIP: login feature'" -ForegroundColor White -Write-Host "4. Switch to ${mainBranch}: git checkout $mainBranch" -ForegroundColor White +Write-Host "4. Switch to ${mainBranch}: git switch $mainBranch" -ForegroundColor White Write-Host "5. Fix the security bug in app.py (remove the comment and fix the auth)" -ForegroundColor White Write-Host "6. Commit the fix: git add app.py && git commit -m 'Fix critical security bug'" -ForegroundColor White -Write-Host "7. Switch back: git checkout feature-login" -ForegroundColor White +Write-Host "7. Switch back: git switch feature-login" -ForegroundColor White Write-Host "8. Restore your work: git stash pop" -ForegroundColor White Write-Host "9. Complete the TODOs in login.py" -ForegroundColor White Write-Host "10. Commit your completed feature" -ForegroundColor White