[TASK] Cleanup .gitignore 12/53612/6
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 13 Aug 2017 10:39:30 +0000 (12:39 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Mon, 14 Aug 2017 13:17:51 +0000 (15:17 +0200)
Make sure root level excludes are prefix with
a forward slash (/). The /bin folder exclude
is already fixed by a previous commit in master.

Sort the .gitignore into logical groups.

Releases: 7.6, 8.7, master
Resolves: #81992
Change-Id: If1cb4105e57fb7ab3c28448abc3eaeb898da60e3
Reviewed-on: https://review.typo3.org/53612
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Henning Liebe <h.liebe@neusta.de>
Tested-by: Henning Liebe <h.liebe@neusta.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
.gitignore

index 7c2db8a..01d8328 100644 (file)
@@ -9,35 +9,41 @@
 #
 ########################
 #
-# Ignore temporary files (left by editors)
+# Ignore temporary files (left by editors and OS)
 *~
 *.bak
 *.swp
+.DS_Store
 #
 # Ignore by common IDEs used directories/files
 nbproject
 *.idea
 *.project
 .buildpath
-.project
 .settings
 .TemporaryItems
 .webprj
-.php_cs.cache
 #
-# Ignore build stuff
-Build/bower_components/*
-Build/node_modules/*
-Build/JavaScript
-Build/typings/*
-!Build/typings/no-def*
+# Temporary files and folders
 .cache
+.php_cs.cache
 .sass-cache
 .session
-typo3/sysext/*/Resources/Private/TypeScript/*.js
-typo3/sysext/*/Resources/Public/JavaScript/*.js.map
 phantomjsdriver.log
 #
+# Ignore build stuff
+/Build/bower_components/*
+/Build/node_modules/*
+/Build/JavaScript
+/Build/typings/*
+!/Build/typings/no-def*
+/typo3/sysext/*/Resources/Private/TypeScript/*.js
+/typo3/sysext/*/Resources/Public/JavaScript/*.js.map
+#
+# TypeScript stuff
+.baseDir.ts
+.tscache
+#
 # Ignore composer stuff
 /bin/*
 /vendor/*
@@ -46,11 +52,10 @@ phantomjsdriver.log
 /typo3/install.php
 #
 # Ignore common TYPO3 CMS files/directories
-typo3temp/*
-typo3conf/*
-fileadmin/*
-uploads/*
+/typo3temp/*
+/typo3conf/*
+/fileadmin/*
+/uploads/*
+#
+# root .htaccess file
 /.htaccess
-# TypeScript stuff
-.baseDir.ts
-.tscache