- Notifications
You must be signed in to change notification settings - Fork29
mfbx9da4/git-sub-dir
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Downloads git sub dir
python get_git_sub_dir.py user/repo <options>python get_git_sub_dir.py user/private_repo --private <options>--private: the repo is private (default isFalse, username and password will be requested)-r: recursive download (default isTrue)-p: filepath-b: branch
Let's download the docs from twitter bootstraphttps://github.com/twbs/bootstrap/tree/master/docs
python get_git_sub_dir.py twbs/bootstrap -p docsIf we don't want it to be recursive
python get_git_sub_dir.py twbs/bootstrap -p docs -r FalseIf we want a specific file
python get_git_sub_dir.py twbs/bootstrap -p docs/examples/blog/index.htmlIf we want to download from a specific branch (sayfix-15534)
python get_git_sub_dir.py twbs/bootstrap -p docs/examples/blog/index.html -b fix-15534About
Downloads sub-directory of a github repository.
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors2
Uh oh!
There was an error while loading.Please reload this page.