SkyeYoung commented on code in PR #11765:
URL: https://github.com/apache/apisix/pull/11765#discussion_r2021111735
##########
.devcontainer/devcontainer.json:
##########
@@ -0,0 +1,14 @@
+{
+ "name": "APISIX",
+ "dockerComposeFile": ["docker-compose.yml"],
+ "service": "apisix",
+ "workspaceFolder": "/workspace",
+ "privileged": true,
+ "postCreateCommand": "bash -c 'cd /workspace && rm -rf test-nginx && git
config --global --add safe.directory /workspace && git submodule update --init
--recursive && git clone https://github.com/openresty/test-nginx.git --depth 1
&& make deps'",
Review Comment:
u can try sth like `git clone --depth 1 --single-branch --branch main`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]