Sample collection of development environment using devcontainer.
-
Find the sample you want to use in the projects folder.
-
Clone git repository.
git clone --filter=blob:none --sparse https://github.com/HoshimuraYuto/vscode-devcontainer-example.git [folder name]
- Move to cloned git repository directory.
cd [folder name]
- Set the option for
sparse-checkout
.
git sparse-checkout set projects/[folder name you want to use]
- Move files to the current directory and delete any unnecessary folders.
mv projects/[folder name you want to use]/{*,.[^\.]*} . && rm -r projects
If you run this command, all files will be replaced, including this README file.
- (optional) Reinitialize git repository.
rm -rf .git && git init
This project is licensed under the MIT No Attribution License. See the LICENSE file for details.