Show HN: Downloading a folder from a repo using rust
5 days ago
- #productivity
- #git
- #developer-tools
- git-down allows downloading specific directories from a Git repository without cloning the entire repo.
- Usage: `$ git-down -d <DESTINATION_DIRECTORY> <REPO_URL.git:branch> FILES`.
- Supports shortcuts for popular Git services like GitHub (gh), BitBucket (bb), GitLab (gl), and SourceForge (sf).
- Examples provided for downloading directories from Bootstrap, SQLAlchemy, GitLab, and NagiosCore.
- Alternative methods like downloading archives or shallow cloning are more cumbersome.
- Installation requires Rust: clone, build with `cargo build --release`, and move the binary to your PATH.
- MIT licensed, created by Zikani Nyirenda Mwase in 2017.