I want to create a public repository A
. In A
, the code will be initialized from several public repositories. For example, I want to have https://github.com/TypeFox/monaco-languageclient as a code base in folder A/monaco-languageclient
.
Then, I will modify the code inside A/monaco-languageclient
. I don't want the change to impact the public repository of TypeFox, whereas I want to track all the change for me in GitHub.
One possible setting for this is:
- fork https://github.com/TypeFox/monaco-languageclient to my GitHub
- add my monaco-languageclient as a submodule of A
This setting does allow me to track my changes in monaco-languageclient. However, I realize in the GitHub webpage of repository A
, the submodule always points to the initial commit of monaco-languageclient.
So my questions are:
- how to let A point to my last version of monaco-languagelclient in GitHub webpage?
- is the whole setting (i.e., git, fork, submodule) correct for what I want to achieve?