File tree Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Expand file tree Collapse file tree 6 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 36
36
" xaver.clang-format"
37
37
]
38
38
}
39
- }
39
+ },
40
40
// You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers
41
41
// "postAttachCommand": "/usr/local/git-pull-repos.sh"
42
42
// Use 'forwardPorts' to make a list of ports inside the container available locally.
43
43
// "forwardPorts": [],
44
- // Use 'postCreateCommand' to run commands after the container is created.
45
- // "postCreateCommand": "terraform --version",
44
+ // This is needed to allow cloning repositories like the STM32 hal driver ones
45
+ "postCreateCommand" : " git config --global safe.directory '*' "
46
46
// Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root.
47
47
// ,"remoteUser": "vscode"
48
48
}
Original file line number Diff line number Diff line change 36
36
" xaver.clang-format"
37
37
]
38
38
}
39
- }
39
+ },
40
40
// You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers
41
41
// "postAttachCommand": "/usr/local/git-pull-repos.sh"
42
42
// Use 'forwardPorts' to make a list of ports inside the container available locally.
43
43
// "forwardPorts": [],
44
- // Use 'postCreateCommand' to run commands after the container is created.
45
- // "postCreateCommand": "terraform --version",
44
+ // This is needed to allow cloning repositories like the STM32 hal driver ones
45
+ "postCreateCommand" : " git config --global safe.directory '*' "
46
46
// Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root.
47
47
// ,"remoteUser": "vscode"
48
48
}
Original file line number Diff line number Diff line change 36
36
" xaver.clang-format"
37
37
]
38
38
}
39
- }
39
+ },
40
40
// You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers
41
41
// "postAttachCommand": "/usr/local/git-pull-repos.sh"
42
42
// Use 'forwardPorts' to make a list of ports inside the container available locally.
43
- // "forwardPorts": [],
43
+ // "forwardPorts": [],
44
44
// Use 'postCreateCommand' to run commands after the container is created.
45
- // "postCreateCommand": "terraform --version",
45
+ // This is needed to allow cloning repositories like the STM32 hal driver ones
46
+ "postCreateCommand" : " git config --global safe.directory '*'"
46
47
// Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root.
47
48
// ,"remoteUser": "vscode"
48
49
}
Original file line number Diff line number Diff line change 36
36
" xaver.clang-format"
37
37
]
38
38
}
39
- }
39
+ },
40
40
// You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers
41
41
// "postAttachCommand": "/usr/local/git-pull-repos.sh"
42
42
// Use 'forwardPorts' to make a list of ports inside the container available locally.
43
43
// "forwardPorts": [],
44
- // Use 'postCreateCommand' to run commands after the container is created.
45
- // "postCreateCommand": "terraform --version",
44
+ // This is needed to allow cloning repositories like the STM32 hal driver ones
45
+ "postCreateCommand" : " git config --global safe.directory '*' "
46
46
// Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root.
47
47
// ,"remoteUser": "vscode"
48
48
}
Original file line number Diff line number Diff line change 36
36
" xaver.clang-format"
37
37
]
38
38
}
39
- }
39
+ },
40
40
// You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers
41
41
// "postAttachCommand": "/usr/local/git-pull-repos.sh"
42
42
// Use 'forwardPorts' to make a list of ports inside the container available locally.
43
43
// "forwardPorts": [],
44
- // Use 'postCreateCommand' to run commands after the container is created.
45
- // "postCreateCommand": "terraform --version",
44
+ // This is needed to allow cloning repositories like the STM32 hal driver ones
45
+ "postCreateCommand" : " git config --global safe.directory '*' "
46
46
// Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root.
47
47
// ,"remoteUser": "vscode"
48
48
}
Original file line number Diff line number Diff line change 36
36
" xaver.clang-format"
37
37
]
38
38
}
39
- }
39
+ },
40
40
// You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers
41
41
// "postAttachCommand": "/usr/local/git-pull-repos.sh"
42
42
// Use 'forwardPorts' to make a list of ports inside the container available locally.
43
43
// "forwardPorts": [],
44
- // Use 'postCreateCommand' to run commands after the container is created.
45
- // "postCreateCommand": "terraform --version",
44
+ // This is needed to allow cloning repositories like the STM32 hal driver ones
45
+ "postCreateCommand" : " git config --global safe.directory '*' "
46
46
// Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root.
47
47
// ,"remoteUser": "vscode"
48
48
}
You can’t perform that action at this time.
0 commit comments