- Install git.
- Download the script
wget https://raw.githubusercontent.com/Sun-Jc/toolkit/main/sparse-checkout.sh
Credit: This script comes from [Sanix-Darker/clone_sub.sh](https://gist.github.com/Sanix-Darker/a15f3d9a0eed10236ff25c87b5515732).
- Run the script with arguments
bash sparse-checkout.sh better-shell https://github.com/Sun-Jc/toolkit
bash sparse-checkout.sh obsidian https://github.com/Sun-Jc/toolkit
bash sparse-checkout.sh win-as-mac https://github.com/Sun-Jc/toolkit