[TASK] Cleanup .gitignore 63/53663/6
authorPhilipp Gampe <philipp.gampe@typo3.org>
Sun, 13 Aug 2017 10:39:30 +0000 (12:39 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 24 Aug 2017 14:28:33 +0000 (16:28 +0200)
Make sure root level excludes are prefix with
a forward slash (/).

Sort the .gitignore into logical groups.

Releases: 7.6, 8.7, master
Resolves: #81992
Change-Id: If1cb4105e57fb7ab3c28448abc3eaeb898da60e3
Reviewed-on: https://review.typo3.org/53663
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
.gitignore

index bfe065c..9ffe282 100644 (file)
@@ -9,45 +9,50 @@
 #
 ########################
 #
-# 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 composer stuff
-bin/*
-vendor/*
+# 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
 #
-# Ignore common TYPO3 CMS files/directories
-typo3temp/*
-typo3conf/*
-fileadmin/*
-uploads/*
-/.htaccess
 # TypeScript stuff
 .baseDir.ts
 .tscache
+#
+# Ignore composer stuff
+/bin/*
+/vendor/*
+#
+# Ignore common TYPO3 CMS files/directories
+/typo3temp/*
+/typo3conf/*
+/fileadmin/*
+/uploads/*
+#
+# root .htaccess file
+/.htaccess