Clone a GitHub subfolder into the current directory without cloning the full working tree.
curl -fsSL https://raw.githubusercontent.com/akhileshu/git-folder-here/main/install.sh | bashgit-folder-here https://github.com/akhileshu/boilerplates-and-snippets/tree/main/next-express/srcThe script:
- clones only the requested path with sparse checkout
- keeps the folder itself, not just its contents
- appends a timestamp if the destination name already exists
bash tests/smoke.shThe smoke test runs the executable through both bash and zsh.