3

Cloning application from Github, Can we check whether there is system file eg;- .exe, .dll, Looking for the option by which we can restrict the system to clone project which contain such files.

Arvind
  • 2,671
  • 1
  • 18
  • 32
  • possible duplicate of [Can I use Git to search for matching filenames in a repository?](http://stackoverflow.com/questions/277546/can-i-use-git-to-search-for-matching-filenames-in-a-repository) – Robadob Aug 06 '15 at 13:27
  • `git ls-files *.dll *.exe` will list files that match those patterns in the current repo. – Robadob Aug 06 '15 at 13:28
  • @Robadob we can do it after git clone right ? not while cloning. – Arvind Aug 06 '15 at 13:30
  • 2
    Try `git ls-remote *.dll *.exe` before you clone? There wont be a capability to do it during, either do it before or after. – Robadob Aug 06 '15 at 13:54
  • @Robadob thanks, I know that, I am looking on while cloning, but if it is not possible then I have to go with other way :( – Arvind Aug 06 '15 at 13:57

0 Answers0