Skip to content

Commit 738067b

Browse files
adds a stash in
1 parent 3c8974f commit 738067b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/devcontainers/base/src/.devcontainer/nhsnotify/postcreatecommand.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ echo "cloned repository $REPO branch $CHECKOUT_BRANCH to $DEST"
1919

2020
CURRENT_BRANCH=$(git symbolic-ref --short HEAD)
2121
echo "current branch is $CURRENT_BRANCH"
22+
git stash
23+
echo "stashed any changes on branch $CURRENT_BRANCH"
2224
git switch -C $UPDATE_BRANCH
2325

2426
\cp -r --update=none $DEST/docs ./

0 commit comments

Comments
 (0)