From c454bdc71944351836826a427056e186c9d334ac Mon Sep 17 00:00:00 2001 From: Kat Morgan Date: Mon, 22 Jan 2024 22:25:54 +0000 Subject: [PATCH] layout redesign for modular support --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 17305f6..ceea5a8 100644 --- a/README.md +++ b/README.md @@ -64,13 +64,15 @@ To add this repository as a submodule to your project, run the following command ```bash git submodule add https://github.com/pulumi/devcontainer .github/devcontainer git submodule update --init --recursive .github/devcontainer -mkdir .devcontainer && cp -r .github/devcontainer/devcontainer .devcontainer +mkdir -p .devcontainer +rsync -av .github/devcontainer/devcontainer/* .devcontainer ``` To update the devcontainer submodule in consuming repos: ```bash git submodule update --remote --merge .github/devcontainer +rsync -av .github/devcontainer/devcontainer/* .devcontainer ``` After the submodule is added, you can open your project in VS Code and it will automatically detect the Dev Container configuration and prompt you to open the project in a container, or you can open the project in Github CodeSpaces.