diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..857c3f6a68c7a3ec094a9ff1e91fa5b9f2c34562
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,19 @@
+# ignore root file
+*.root
+# ignore G4table
+*.G4table
+#ignore input file
+*.reaction
+*.detector
+Inputs/*
+# G4 crap
+NPSimulation/bin
+NPSimulation/tmp
+*.macro
+#various crap
+*.swp
+*.o
+*.d
+*LinkDef*
+*.png
+*.pdf
diff --git a/NPLib/.gitignore b/NPLib/.gitignore
index 8a49827acb50d0b6db634af361a86e6584eba08e..556184fdfa625cc56826649631563e156b760ece 100644
--- a/NPLib/.gitignore
+++ b/NPLib/.gitignore
@@ -1 +1,5 @@
 Makefile.detector
+liblist
+.core_libs
+.detector_libs
+DetectorList.inc