0

I followed ths instructions on this answer. But it still downloaded the whole repository ( the fourth line of the bellow code)

mkdir directoryName
cd directoryName
git init
git remote add origin -f repoUrl

What did I miss?

user523234
  • 13,613
  • 10
  • 57
  • 101
  • Try this https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo – Ckiller Aug 03 '18 at 16:00
  • @Ckiller, that was it! thx. – user523234 Aug 03 '18 at 16:29
  • Possible duplicate of [Download a single folder or directory from a GitHub repo](https://stackoverflow.com/questions/7106012/download-a-single-folder-or-directory-from-a-github-repo) – Chris Aug 03 '18 at 16:44

0 Answers0