From d647b612d6ec69269600ff59d364e778db98d99e Mon Sep 17 00:00:00 2001 From: Hana Kim Date: Tue, 15 Aug 2017 15:22:28 -0400 Subject: [PATCH] .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 --- .gitignore | 6 ++++-- 1 file 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.