Skip to content

This script is used to partial clone a git repository.

License

Notifications You must be signed in to change notification settings

BalliAsghar/partial-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Partial Git Clone Script

This script allows you to partially clone a Git repository by specifying a branch and a folder within the repository. It's particularly useful when you only want to work with a specific part of a repository and not clone the entire repository.

Features

  • Clones a specific branch from the repository
  • Supports shallow cloning for faster cloning
  • User input validation and error handling

macos users can also install using brew

brew tap BalliAsghar/apps
brew install pc

Usage

  1. Make sure you have git and wget installed on your system.
  2. Download the script and make it executable:
    chmod +x pc
  3. Run the script:
    ./pc
  4. Follow the prompts to enter the repository URL, depth, branch, and folder you want to clone.

About

This script is used to partial clone a git repository.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages