We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXT_PATH="some/path" git init #初始化 git remote add origin https://gitxxx.com/someone/project.git # 增加远端的仓库地址 git config core.sparsecheckout true # 设置Sparse Checkout 为true echo "${EXT_PATH}" >> .git/info/sparse-checkout # 将要部分clone的目录相对根目录的路径写入配置文件 git pull [--depth 1] origin master
The text was updated successfully, but these errors were encountered:
No branches or pull requests
检出git项目中指定目录下源码,不检出全部,适用于项目比较大时
The text was updated successfully, but these errors were encountered: