https://github.com/hoshimurayuto/vscode-devcontainer-example
Sample collection of development environment using devcontainer(VSCode)
https://github.com/hoshimurayuto/vscode-devcontainer-example
Last synced: 2 months ago
JSON representation
Sample collection of development environment using devcontainer(VSCode)
- Host: GitHub
- URL: https://github.com/hoshimurayuto/vscode-devcontainer-example
- Owner: HoshimuraYuto
- License: mit-0
- Created: 2023-09-01T17:59:41.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-02T15:12:52.000Z (over 1 year ago)
- Last Synced: 2023-09-04T17:00:58.005Z (over 1 year ago)
- Language: Dockerfile
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vscode-devcontainer-example
Sample collection of development environment using devcontainer.
## How to use
1. Find the sample you want to use in the projects folder.
2. Clone git repository.
```bash
git clone --filter=blob:none --sparse https://github.com/HoshimuraYuto/vscode-devcontainer-example.git [folder name]
```3. Move to cloned git repository directory.
```bash
cd [folder name]
```4. Set the option for `sparse-checkout`.
```bash
git sparse-checkout set projects/[folder name you want to use]
```5. Move files to the current directory and delete any unnecessary folders.
```bash
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.**
6. (optional) Reinitialize git repository.
```bash
rm -rf .git && git init
```## License
This project is licensed under the MIT No Attribution License. See the [LICENSE](LICENSE) file for details.
## Author
- [Github](https://github.com/HoshimuraYuto)
- [Twitter](https://twitter.com/HoshimuraYuto)
- [Blog](https://sukiburo.jp/)