Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

clone-subdir

Clone only a specific subfolder from a GitHub repository.

Installation

pip install clone-subdir

Usage

After installation, you can use the clone-subdir command directly:

clone-subdir https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/a2a-mcp-without-framework

This will create a local directory:

./a2a-mcp-without-framework

If you want a custom name:

clone-subdir https://github.com/a2aproject/a2a-samples/tree/main/samples/python/agents/a2a-mcp-without-framework my-agent-example

How it works

The tool uses Git's sparse-checkout feature to efficiently clone only the specified subfolder without downloading the entire repository.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages