summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHana Kim <hakim@google.com>2017-08-15 15:22:28 -0400
committerHyang-Ah Hana Kim <hyangah@gmail.com>2017-08-15 21:37:05 +0000
commitd647b612d6ec69269600ff59d364e778db98d99e (patch)
treec8fc3247dac46bc8521a5746e60fc8dc7f4a3418
parent32b94f13cf35e619a0dae6e1e381adc7e182d283 (diff)
downloadgo-git-d647b612d6ec69269600ff59d364e778db98d99e.tar.gz
.gitignore: include only Go project artifiacts
This effectively reverts https://golang.org/cl/53770 and adds a guide on what not to add in this file. Update #21458 Change-Id: I7c740d492b70628b5d9f9e1622014995a3f6f8ec Reviewed-on: https://go-review.googlesource.com/55871 Reviewed-by: Ian Lance Taylor <iant@golang.org>
-rw-r--r--.gitignore6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index c56cad7f2d..a2c389f033 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,5 +44,7 @@ _testmain.go
/test/run.out
/test/times.out
-# IntelliJ-based editors
-/.idea/
+# This file includes artifacts of Go build that should not be checked in.
+# For files created by specific development environment (e.g. editor),
+# use alternative ways to exclude files from git.
+# For example, set up .git/info/exclude or use a global .gitignore.