All docs
This doc
...
Run the following commands.
Code Block | ||
---|---|---|
| ||
mkdir is-samples cd is-samples/ git init git remote add -f origin https://github.com/wso2/product-is.git |
Code Block | ||
---|---|---|
| ||
git config core.sparseCheckout true |
Navigate into the .git/info/
directory and list out the folders/files you want to check out using the echo
command below.
Code Block | ||
---|---|---|
| ||
cd .git/info echo "modules/samples/" >> sparse-checkout |
Navigate out of .git/info
directory and checkout the v5.56.0
tag to update the empty repository with the remote one.
Code Block | ||
---|---|---|
| ||
cd ../.. git checkout -b v5.6.0 v5.6.0 |
Access the samples by navigating to the is-samples/modules/samples
directory.