submodule‐usage - difx/difx GitHub Wiki
Usage of submodule
First clone
We can add the parameter --recursive
to clone the repo with submodule, the command is:
$ git clone --recursive https://github.com/difx/difx
Currently we can not see the difx-data yet, after we merge the function to main branch, it will work.
Already have the repo
If you already clone the DiFX repo, please following the commands to checkout submodule directory
$ git checkout --track origin/feature-submodule
# Now you should on branch feature-submodule
$ git submodule init
$ git submodule update
Then you will have a directory, maybe named difx-data @ 3920fd1