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
Go to your CLI tool and navigate to your copy of specgen_input_na
Issue the command git submodule add https://github.com/Access4LearningNA/specgen_common_assets.git specgen_common_assets. This will schedule Github to create a folder called specgen_common_assets, which will contain the contents of that repo.
Issue the command git submodule update --init --recursive. That will download the contents of the repo into that folder
In your batch file to generate the spec, add at the start the command git submodule update --remote --merge. This updates the contents of all your submodule folders to the latest content from their source repos
In your batch file, add the command cp specgen_common_assets/*.* 98_xslt, or equivalent, to copy all content across from the folder into the sourcetree of specgen_input. You can elect to remove the corresponding files under 98_xslt in specgen_input, since the source of truth for those files is now specgen_common_assets, and they are just copied across to 98_xslt
Follows from #34
Once the specgen_common_assets repository is created, the batch file to execute specgen needs to start by:
So do the following:
It will be something like https://github.com/Access4LearningNA/specgen_common_assets.git
git submodule add https://github.com/Access4LearningNA/specgen_common_assets.git specgen_common_assets
. This will schedule Github to create a folder called specgen_common_assets, which will contain the contents of that repo.git submodule update --init --recursive
. That will download the contents of the repo into that foldergit submodule update --remote --merge
. This updates the contents of all your submodule folders to the latest content from their source reposcp specgen_common_assets/*.* 98_xslt
, or equivalent, to copy all content across from the folder into the sourcetree of specgen_input. You can elect to remove the corresponding files under 98_xslt in specgen_input, since the source of truth for those files is now specgen_common_assets, and they are just copied across to 98_xsltRefer https://devconnected.com/how-to-add-and-update-git-submodules/
The text was updated successfully, but these errors were encountered: