File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: Restore the eShop demo workspace to the demo-baseline git tag. Use
55
66# reset-demo
77
8- ** Destructive:** restores the repository to the ` demo-baseline ` tag.
8+ ** Destructive:** restores the repository to the ` demo-baseline ` tag and closes out extra non- ` main ` branches used during demo prep .
99
1010** Git root:** repository root (` eshop/ ` — where ` eShop.Web.slnf ` lives)
1111
@@ -15,8 +15,12 @@ description: Restore the eShop demo workspace to the demo-baseline git tag. Use
15152 . ` git status ` — warn about unpushed commits and uncommitted work.
16163 . ` git reset --hard demo-baseline `
17174 . ` git clean -fd ` — do ** not** delete local secrets (` .env ` , ` .env.local ` , user-specific Aspire settings) if present.
18- 5 . ` dotnet restore eShop.Web.slnf && dotnet build eShop.Web.slnf `
19- 6 . Tell the user to run AppHost if needed: ` dotnet run --project src/eShop.AppHost/eShop.AppHost.csproj ` (Docker required).
18+ 5 . Close out non-` main ` branches that are not needed for the demo script:
19+ - delete local branches other than ` main `
20+ - delete matching ` origin/* ` branches in this fork when they are no longer needed for the demo reset
21+ - never touch ` upstream/* `
22+ 6 . ` dotnet restore eShop.Web.slnf && dotnet build eShop.Web.slnf `
23+ 7 . Tell the user to run AppHost if needed: ` dotnet run --project src/eShop.AppHost/eShop.AppHost.csproj ` (Docker required).
2024
2125## If tag missing
2226
You can’t perform that action at this time.
0 commit comments