Git: How do I clone a subdirectory only of a Git repository?

前端 未结 18 2913
时光说笑
时光说笑 2020-11-21 04:33

I have my Git repository which, at the root, has two sub directories:

/finisht
/static

When this was in SVN, /finisht was chec

18条回答
  •  無奈伤痛
    2020-11-21 05:07

    I just wrote a script for GitHub.

    Usage:

    python get_git_sub_dir.py path/to/sub/dir 
    

提交回复
热议问题