diff --git a/.gitignore b/.gitignore
index 6413393ea..e531cd9e9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,25 +1,33 @@
 .DS_Store
+
+*.orig
+
+*.gch
+*.pyc
+
+*.gcda
+*.gcno
+*.gcov
+*.a
+*.o
+
+#created by user/scripts
+cores/esp8266/CommonHFile.h
+tests/host/lcov/
+tools/sdk/ld/backup/
+*.local.txt
+.cache
+compile_commands.json
+
+#dist
 tools/dist/
-tools/xtensa-lx106-elf/
-tools/mkspiffs/
 tools/mklittlefs/
+tools/mkspiffs/
 tools/python3/
+tools/xtensa-lx106-elf/
 package/versions/
 exclude.txt
 
-tests/hosts/lcov/
-
-*.pyc
-*.gch
-
-boards.local.txt
-
-*.gcov
-*.gcno
-*.gcda
-*.o
-*.a
-
 #Ignore files built by Visual Studio/Visual Micro
 [Dd]ebug*/
 [Rr]elease*/