Answers.Body: <p>Those image transform folders all start with an underscore. The following pattern should work, if you don't set up underscore folders yourself:</p>
  
  <p><code>public/assets/**/[_]*/</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-02T16:39:55.740Z
Answers.Text: I was having problems getting this to work down through all my subdirectories, so I put a .gitignore file in each of my image directories that ignore transforms directories I wanted to ignore. I used this pattern: /[_]*/
Answers.UserDisplayName: Jay Haase
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-08-26T12:05:34.553Z
Answers.LastActivityDate: 2015-08-26T12:05:34.553Z
Answers.UserDisplayName: carlcs
Body: <p>Not sure on the gitignore pattern I need to add to ignore craft's image transforms it automatically generates. Any ideas?</p>
  
Tags: <image-transforms><git>
Title: Gitignore pattern to remove image transforms
ThreadText: # Gitignore pattern to remove image transforms
  
  (Asked by: username_0 on 2015-08-26)
  
  Not sure on the gitignore pattern I need to add to ignore craft's image transforms it automatically generates. Any ideas?
  
  **Tags:** image-transforms, git
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-08-26. Score: 4 | Accepted answer
  
  Those image transform folders all start with an underscore. The following pattern should work, if you don't set up underscore folders yourself:
  
  `public/assets/**/[_]*/`
  
  > **Comments:**
  > **username_2**: I was having problems getting this to work down through all my subdirectories, so I put a .gitignore file in each of my image directories that ignore transforms directories I wanted to ignore. I used this pattern: /[_]*/  
  
  ---
  
  