From 5d2ce0c0a9231519c5e7469306dc8bd6baf40d54 Mon Sep 17 00:00:00 2001 From: Sven Greb Date: Fri, 18 Sep 2020 14:13:59 +0200 Subject: [PATCH] Git ignore pattern for Yarn and JetBrains products (#40) Before there were only ignore pattern for the Node.js `node_modules` folder, but specific pattern for Yarn [1] were not present. Because the fantastic JetBrains products [2] like GoLand [3] (or respectively IntelliJ [4] with the official Go plugin [5]) are an integral part of my daily toolbox the pattern have also been added. [1]: https://yarnpkg.com [2]: https://www.jetbrains.com [3]: https://www.jetbrains.com/go [4]: https://www.jetbrains.com [5]: https://plugins.jetbrains.com Closes GH-39 --- .gitignore | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitignore b/.gitignore index ab3e2f1..21286d6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,19 @@ # Configuration to specify paths to ignore. # See https://git-scm.com/docs/gitignore for more details. +# +--------------------+ +# + JetBrains Products + +# +--------------------+ +# +--- IntelliJ IDEA ---+ +.idea/* +!.idea/runConfigurations +!.idea/saved-exports +!.idea/watcherTasks.xml + # +---------+ # + Node.js + # +---------+ **/node_modules/ +yarn-debug.log* +yarn-error.log* +.yarn-integrity