You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# the following target requires git executable to be on PATH:
49
40
$ ant apply-patches
50
41
$ ant build-netbeans
@@ -107,3 +98,24 @@ $ npm_config_https_proxy=http://your.proxy.com:port ant test-vscode-ext
107
98
108
99
when executing the tests for the first time. That shall overcome the proxy
109
100
and download an instance of `code` to execute the tests with.
101
+
102
+
## Working with submodules
103
+
This project uses [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) . In particular netbeans and netbeans-l10n are submodules pointing to specific commits in their respective repositories .
104
+
### Switching Branches
105
+
Add the --recurse-submodules flag to the git checkout command to update the submodules during the checkout.
106
+
```bash
107
+
git checkout --recurse-submodules <branch_name>
108
+
```
109
+
Note:- Merging branches with submodules pointing to different commits can be tricky. Refer the [git submodules](https://git-scm.com/book/en/v2/Git-Tools-Submodules) for more details on the same.
110
+
### Changing submodules versions
111
+
```bash
112
+
# Fetching changes from remote submodule repositories
0 commit comments