diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..08597c37c34536c6acdb00e9523fdc3d267bb9d6
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,18 @@
+# Ignore build artifacts
+*.o
+charger
+
+# Backup and temporary files
+*.swp
+*.bak
+*.tmp
+*~
+
+# MacOS-specific files
+.DS_Store
+
+# Logs and debug files
+*.log
+
+# Generated files
+tags
\ No newline at end of file