我想要克隆一个子目录 https://github.com/CoreyMSchafer/code_snippets/tree/master/Django_Blog/12-Password-Reset/django_project,从父目录中。
https://github.com/CoreyMSchafer/code_snippets.git
我阅读了一些 Stack Overflow 的答案,它们说 Git 没有设计用于从根文件夹下载特定文件。我在命令提示符中尝试了以下命令:git clone https://github.com/CoreyMSchafer/code_snippets.git -b code_snippets/tree/master/Django_Blog/12-Password-Reset/django_project
,但没有成功。如果这可能是一个重复的问题。