From 441eeaa6cf0e73c5c1a1059484cc98e6abfd4121 Mon Sep 17 00:00:00 2001
From: Manfred Kroehnert <mkroehnert@users.sourceforge.net>
Date: Thu, 22 Nov 2012 09:23:55 +0100
Subject: [PATCH] add .gitignore file and keep empty directory in Git

---
 .gitignore                    | 24 ++++++++++++++++++++++++
 build/.gitkeep                |  4 ++++
 etc/doxygen/images/.gitkeep   |  0
 etc/doxygen/snippets/.gitkeep |  0
 4 files changed, 28 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 build/.gitkeep
 create mode 100644 etc/doxygen/images/.gitkeep
 create mode 100644 etc/doxygen/snippets/.gitkeep

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000..efe7e6e62
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,24 @@
+.keep_in_git
+
+/build*
+
+source/RobotAPI/Test.h
+
+*.bak
+*#
+.#*
+*~
+
+.DS_Store
+CMakeFiles
+CMakeCache.txt
+
+*.o
+*.os
+*.a
+*.la
+*.lo
+*.so
+*.dylib
+moc_*
+
diff --git a/build/.gitkeep b/build/.gitkeep
new file mode 100644
index 000000000..65df06394
--- /dev/null
+++ b/build/.gitkeep
@@ -0,0 +1,4 @@
+Git can only track files and not directory.
+
+Therefore this file is added to all empty directories
+which need to be available after a Git clone.
diff --git a/etc/doxygen/images/.gitkeep b/etc/doxygen/images/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git a/etc/doxygen/snippets/.gitkeep b/etc/doxygen/snippets/.gitkeep
new file mode 100644
index 000000000..e69de29bb
-- 
GitLab