[llvm] r366072 - gn build: Add a note on how to locally tell git to ignore build dir

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 08:14:09 PDT 2019


Author: nico
Date: Mon Jul 15 08:14:09 2019
New Revision: 366072

URL: http://llvm.org/viewvc/llvm-project?rev=366072&view=rev
Log:
gn build: Add a note on how to locally tell git to ignore build dir

Modified:
    llvm/trunk/utils/gn/README.rst

Modified: llvm/trunk/utils/gn/README.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/gn/README.rst?rev=366072&r1=366071&r2=366072&view=diff
==============================================================================
--- llvm/trunk/utils/gn/README.rst (original)
+++ llvm/trunk/utils/gn/README.rst Mon Jul 15 08:14:09 2019
@@ -51,6 +51,8 @@ GN only works in the monorepo layout.
    you can manually pass these parameters and not use the wrapper if you
    prefer.)
 
+#. ``echo out >> .git/info/exclude`` to tell git to ignore files below ``out``.
+
 #. ``ninja -C out/gn check-lld`` to build all prerequisites for and run the LLD
    tests.
 




More information about the llvm-commits mailing list