Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialailsa wang
Courses Plus Student 1,791 Pointshow to clone part of git repo? here is what i googled:mkdir repo1 cd myrepo1 git init git config but not working!
i want to clone part of a large git repo. on stackoverflow, some say this would do: mkdir repo1 cd myrepo1 git init git config core.sparseCheckout true git remote add -f origin /url/of/repo1 echo module1/*> .git/info/sparse-checkout git fetch git checkout master however, i tried several times. this doesn't help. kindly help me!
1 Answer
Iain Simmons
Treehouse Moderator 32,305 PointsCheckout this question on Stack Overflow: Download a single folder or directory from a GitHub repo
These two tools linked in that question might be of use to you:
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsAlexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsAwesome !
Didn't know that there is online programs for that.
Iain Simmons
Treehouse Moderator 32,305 PointsIain Simmons
Treehouse Moderator 32,305 PointsAlexander Nikiforov, me either, until I looked for an answer to this question! :)
ailsa wang
Courses Plus Student 1,791 Pointsailsa wang
Courses Plus Student 1,791 Pointsthank u!