File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,19 @@ next `git submodule update`.
13
13
14
14
More about Git Submodules can be found [ here] ( https://git-scm.com/book/en/v2/Git-Tools-Submodules ) .
15
15
16
- Tip: The URL to the submodules are configured in the file ` .gitmodules ` , but these are using the SSH URL. There is a way
17
- described in the URL above that the URL can be overwritten locally with an HTTPS URL of the GIT Repository.
16
+ ** Remark** : The URLs to the submodules are configured in the file ` .gitmodules ` , but these are using the SSH URLs. There
17
+ is a way described [ here] ( https://git-scm.com/book/en/v2/Git-Tools-Submodules ) that the URL can be overwritten locally
18
+ with an HTTPS URL of the GIT Repository. Because of the subdirectory where the submodules are in, this doesn't work
19
+ exactly that way. Use the following commands to update the URLs locally to HTTPS.
18
20
19
21
```
20
- Since the URL in the .gitmodules file is what other people will first try to clone/fetch from, make sure to use a URL
21
- that they can access if possible. For example, if you use a different URL to push to than others would to pull from,
22
- use the one that others have access to. You can overwrite this value locally with git config
23
- submodule."riseclipse/riseclipse-developer".url HTTPS_URL for your own use. When applicable, a relative URL can be
24
- helpful.
22
+ git config submodule.riseclipse/riseclipse-developer.url https://github.com/riseclipse/riseclipse-developer.git
23
+ git config submodule.riseclipse/riseclipse-main.url https://github.com/riseclipse/riseclipse-main.git
24
+ git config submodule.riseclipse/riseclipse-metamodel-scl2003.url https://github.com/riseclipse/riseclipse-metamodel-scl2003.git
25
+ git config submodule.riseclipse/riseclipse-ocl-constraints-scl2003.url https://github.com/riseclipse/riseclipse-ocl-constraints-scl2003.git
26
+
27
+ git submodule init
28
+ git submodule update
25
29
```
26
30
27
31
## IntelliJ
You can’t perform that action at this time.
0 commit comments