Keep src-gen folders to make it easier to setup a new project.
diff --git a/com.google.eclipse.protobuf.ui/.gitignore b/com.google.eclipse.protobuf.ui/.gitignore
index 4247368..9041932 100644
--- a/com.google.eclipse.protobuf.ui/.gitignore
+++ b/com.google.eclipse.protobuf.ui/.gitignore
@@ -1,2 +1,3 @@
-/src-gen
+/src-gen/com
 /plugin.xml_gen
+/bin
diff --git a/com.google.eclipse.protobuf.ui/src-gen/.gitkeep b/com.google.eclipse.protobuf.ui/src-gen/.gitkeep
new file mode 100644
index 0000000..774f397
--- /dev/null
+++ b/com.google.eclipse.protobuf.ui/src-gen/.gitkeep
@@ -0,0 +1 @@
+Git doesn't support empty directories in a repo. This "empty" file force it to keep the src-gen directory.
diff --git a/com.google.eclipse.protobuf/.gitignore b/com.google.eclipse.protobuf/.gitignore
index ae11275..40272eb 100644
--- a/com.google.eclipse.protobuf/.gitignore
+++ b/com.google.eclipse.protobuf/.gitignore
@@ -1,3 +1,4 @@
-/src-gen
+/src-gen/com
 /xtend-gen
 /plugin.xml_gen
+/bin
diff --git a/com.google.eclipse.protobuf/src-gen/.gitkeep b/com.google.eclipse.protobuf/src-gen/.gitkeep
new file mode 100644
index 0000000..774f397
--- /dev/null
+++ b/com.google.eclipse.protobuf/src-gen/.gitkeep
@@ -0,0 +1 @@
+Git doesn't support empty directories in a repo. This "empty" file force it to keep the src-gen directory.