aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar John Cater <jcater@google.com>2017-02-27 11:07:55 +0000
committerGravatar Yue Gan <yueg@google.com>2017-02-27 15:09:16 +0000
commit3ae50fe81417f376702fc6be0c02043304f8bb18 (patch)
treecc30772fea311ee6afc539b3a8cd9c4cc4d79b86
parent7af14dfdbd6addb779226c0a103b2a8dc72c16b1 (diff)
Cleanup gitignore to ignore all /bazel-* directories.
-- Change-Id: Ib75c9a2b86586efc07ff16dc44caa2e4f4e420c3 Reviewed-on: https://cr.bazel.build/9067 PiperOrigin-RevId: 148631186 MOS_MIGRATED_REVID=148631186
-rw-r--r--.gitignore13
1 files changed, 7 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index c60c36e148..a345b8813d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,16 +1,17 @@
+# Ignore backup files.
*~
+# Ignore Vim swap files.
.*.swp
+# Ignore files generated by IDEs.
/.classpath
/.factorypath
/.idea/
/.project
/.settings
/WORKSPACE.user.bzl
-/bazel-bazel
-/bazel-bin
-/bazel-genfiles
-/bazel-io_bazel
-/bazel-out
-/bazel-testlogs
/bazel.iml
+# Ignore all bazel-* symlinks. There is no full list since this can change
+# based on the name of the directory bazel is cloned into.
+/bazel-*
+# Ignore outputs generated during Bazel bootstrapping.
/output/