diff --git a/.gitignore b/.gitignore
index b9cf9f33e5c7e991bc490973f6065d2540bfac59..ec6e9d8f31eb2d75bc83b2d524f173881f8d267f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,9 +1,35 @@
+###
+ # GitIgnore file for C Language projects.
+ # See https://git-scm.com/docs/gitignore for documentation.
+ #
+ # https://git.brandon-rodriguez.com/other/gitignore
+ # Version 1.0.1
+ ##
 
-# Do not track local environment settings/solution.
-.vscode/
-.idea/
+
+# Ignore environment settings.
 .vs/
+.vscode/
+vs/
+vscode/
+
+
+# Ignore temporary files.
+[Tt]emp/
+[Tt]empfiles/
+[Tt]emp_files/
+*.tmp
+*.temp
 
 
 # Ignore compiled files.
+*.o
+*.obj
 *.out
+
+
+# Ignore logfiles.
+[Ll]og/
+[Ll]ogs/
+*.log
+*.log.*