diff --git a/.gitignore b/.gitignore
index 2fc8ce3..7151ca7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,6 @@
 build
 dist
+pygit2.so
+test/*.pyc
 *.egg-info
+*.swp