diff --git a/.git-hooks/pre-push b/.git-hooks/pre-push
new file mode 100755
index 0000000..11daab1
--- /dev/null
+++ b/.git-hooks/pre-push
@@ -0,0 +1,8 @@
+if [ -z "$(git status --porcelain)" ];then
+  echo No uncommited changes detected
+else
+  echo The following files have uncommited changes:
+  git status --porcelain
+  echo Refusing to push
+  exit 1
+fi
diff --git a/.gitignore b/.gitignore
index 7a62811..5c24af6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 github-material-icons-chrome-extensio*
-localVersionCache.py
\ No newline at end of file
+localVersionCache.py
+__pycache__/**