Skip to content

Commit d647b61

Browse files
committed
.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>
1 parent 32b94f1 commit d647b61

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,7 @@ _testmain.go
4444
/test/run.out
4545
/test/times.out
4646

47-
# IntelliJ-based editors
48-
/.idea/
47+
# This file includes artifacts of Go build that should not be checked in.
48+
# For files created by specific development environment (e.g. editor),
49+
# use alternative ways to exclude files from git.
50+
# For example, set up .git/info/exclude or use a global .gitignore.

0 commit comments

Comments
 (0)