Git LFS track folder recursively

Is it possible to track recursively all files contained in a folder and its subfolders with Git LFS ?

I would like to do something like this :

  • Feature branch with or without fast-forward merge?
  • Force merge commit and fast forward in git-merge
  • Building multiple github repositories at once
  • Git error: inflate: data stream error (unknown compression method)
  • How do I run git log to see changes only for a specific branch?
  • Install composer dependencies that reference VS Team Services git repo during build
  • git lfs track myfolder/*

  • git can not connect to github
  • How do I make emacs work with git's text coloring?
  • Git push is finicky
  • How do I import a local java library in clojure? (lein)
  • jenkins git plugin cloning every time
  • Azure Continuous Deployment - Code First Migration seeding issue (MVC 5)
  • One Solution collect form web for “Git LFS track folder recursively”

    Use git lfs track "myfolder/**", with quotes to avoid the shell already expanding the pattern. All that the track command does is to write to .gitattributes, which in turn uses the same pattern matching rules as .gitignore, see the PATTERN FORMAT description.

    Git Baby is a git and github fan, let's start git clone.