Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    */build/ is not ignoring unchanged files in my build directory. any ideas? @Solved: i had to add */*/build/ as my build folder was a couple of directories deep. Commented Jul 19, 2013 at 10:35
  • Use just build/ to ignore any file in any folder named build, no matter where in or nested under the folder the .gitignore is in. Using /build/ will only ignore a build folder directly in the top level. Using */build/ only looks for build folders nested 1 deep. Using **/build/ will look recursively - I'm not sure if it starts at the top level or 1 level deep though (if at top level, then it would be same as build/ though, so...) Commented Jul 29, 2020 at 20:09