Created
June 12, 2019 00:57
-
-
Save k-maru/0ec36c7858d368a49e30fcee21db40bd to your computer and use it in GitHub Desktop.
Gitから一部のディレクトリだけを取得する方法
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init | |
git config core.sparsecheckout true | |
git remote add origin リポジトリのURL | |
echo set/your/taret/directory/ > .git/info/sparse-checkout | |
git pull origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment