From: Chris Bieneman Date: Fri, 24 Feb 2017 23:09:30 +0000 (+0000) Subject: [.gitignore] Update .gitignore to ignore a nested build directory X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03791bdecb7591ea3987c7ba94551704658705c8;p=llvm [.gitignore] Update .gitignore to ignore a nested build directory Summary: A number of tools and common workflows include putting a build directory inside the source checkout under the folder "build". Adding this to .gitignore seems useful. As an example, the CMake Tools plugin for VSCode does this. Reviewers: chandlerc, echristo, zturner Reviewed By: zturner Subscribers: MatzeB, mehdi_amini, llvm-commits, jgosnell Differential Revision: https://reviews.llvm.org/D30346 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296188 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/.gitignore b/.gitignore index 6a183cd6b24..8a8ae6f5c31 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,9 @@ #OS X specific files. .DS_store +# Nested build directory +/build + #==============================================================================# # Explicit files to ignore (only matches one). #==============================================================================#