Skip to content

youssef-ahamid/copy-github-subdirectory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

copy-github-subdirectory

Copy the contents of any subdirectory on github to a local folder

Add the required paths

URL="<github-repo>"
DIRECTORY="<path/to/directory>"
BRANCH="<branch-name>"
OUTPUT_DIR="<path/to/output/directory>"

Mark the script as an executable

chmod +x ./fetch-github-subdirectory.sh 

Run the script

./fetch-github-subdirectory.sh

About

Shell script to clone a github subdirectory to a local folder

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages