Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 918 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 918 Bytes

git-plow

This script lets you download a sub directory from a git repository without downloading the whole thing.

Requirements

  • Git 2.25
  • Go 1.23.3+ (for building/installing)

Installing

go install github.com/maxpilotto/git-plow

Basic Usage

Fetching a sub directory

$ git-plow <repo_url> <subdir_path>

E.g.

$ git-plow https://github.com/googlesamples/mlkit android/vision-quickstart

This will copy the content of the folder vision-quickstart in your working directory, without the need to download the entire repository.

You can also keep the original folder structure by using the -k flag, that will create the directories mlkit/android/vision-quickstart but only vision-quickstart will contain files.

Building

./build.sh